GNOME Bugzilla – Bug 621111
gtk_init_with_args()'s GOptionEntry argument should be const
Last modified: 2010-06-10 02:41:12 UTC
GOptionEntry in gtk_init_with_args() is not const, while it is in g_option_context_add_main_entries(). I think that can be fixed for Gtk 3.
it should be fixable on gtk-2-22 as well - constification of arguments it's allowed.
Created attachment 163216 [details] [review] constify gtk_init_with_args()'s GOptionEntry argument Also, I've used g types for consistency
Looks fine to me.
Comment on attachment 163216 [details] [review] constify gtk_init_with_args()'s GOptionEntry argument commit 785027751aaa0405342dcda0337dbd73d96a5d35
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.