Emacs bug?

Whenever I start emacs from the command line, I get the following error:
(emacs:16341): GLib-WARNING **: g_set_prgname() called multiple times
I can’t figure out what is causing it. I did some google searching, and get the impression that it might be a bug. But if it turns out that I’ve just messed something up, I’d like to know about it so I can fix it! It doesn’t seem to cause any problems, but it’s sort of annoying.