GNOME Bugzilla – Bug 565388
Remove libgnomeui dependency
Last modified: 2008-12-23 01:01:43 UTC
Hi, The attached patch removes the libgnomeui dependency from gfloppy, 'couse libgnome must die! http://live.gnome.org/LibgnomeMustDie
Created attachment 125155 [details] [review] remove libgnomeui dependency from gfloppy
Thanks for the patch, I committed it to trunk with some additional fixes: - there's no need to call gtk_init () if you do g_option_context_parse () after adding the GTK+ option group to it with gtk_get_option_group (TRUE). - you should call exit (1) if the option context isn't parsed. - you should free the option context after it has been parsed - the correct syntax for showing ghelp uris with gtk_show_uri is ghelp:modulename#section Closing as FIXED. 2008-12-23 Cosimo Cecchi <cosimoc@gnome.org> * src/main.c (on_help_button_clicked), (main): Remove libgnome/libgnomeui dependency. Thanks to Emilio Pozuelo Monfort (#565388).
Thanks a lot for the comments Cosimo! btw I used "ghelp:gfloppy?usage" because that's what http://live.gnome.org/action/edit/GnomeGoals/RemoveGnomeOpenGnomeHelp recommends (and it works). Maybe that needs fixing :)