try listenning to melodies on instruments that aren't on guitar...some favorites have been:
Trumpet,
Harmonica,
Balalika,
Piano,
Mandolin,
Violin,
Cello,
Flutes.
many, many more too....
I've listened to a lot of tradional Japanese, Native Indiana and celtic songs for inspiration. It's not just about the melody's, but also trying to impersonate the characteristics of a different instrument
Think of an instrument and try and learn a melody or develop a technique from it...you get some interesting riffs and licks...
Don't worry too much about me, ignore me long enough and I'll go away.