[Gtk-sharp-list] Application.Init issues

Nicholas Frechette zeno490 at gmail.com
Sat Apr 30 16:55:59 EDT 2011


Hi,
I have a number of warnings being outputted and I wanted to debug where they
came from.
GLib-WARNING **: g_set_prgname() called multiple times
Gtk-WARNING **: menuitem: missing action (null)

Now the first one happens when I call Application.Init. By default, I am not
passing any arguments to it. Strangely, it appears that some static
initialization function somewhere is initializing gtk before I get a chance
to do so. Obviously my code doesn't have such functions and so I am at a
loss. I attempted to pass the argument: --gtk-debug=all to the command line
but nothing happens, it seems to be ignored. I attempted to pass the
arguments to the Application.Init function as well but no luck.

Any ideas? I'm using stetic + GTK# version 2.12.10 on Ubuntu 9.10 and mono
2.6.4
Here the assembly references I have (if it can be of any help):
atk-sharp
gdk-sharp
glade-sharp
glib-sharp
gtk-sharp
pango-sharp

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20110430/a6cdf068/attachment.html 


More information about the Gtk-sharp-list mailing list