GNOME Bugzilla – Bug 612477
Does not compile with -DGSEAL_ENABLED
Last modified: 2010-04-06 19:28:46 UTC
This module does not build with -DGSEAL_ENABLED. See http://live.gnome.org/GnomeGoals/UseGseal . Note that maybe this report cannot be fixed yet, as GTK+ still misses some accessor functions (see bug 588389, bug 597610) needed for sealing. Also see http://live.gnome.org/GTK%2B/3.0/PendingSealings for current status. The jhbuild output posted here of course only lists the very first error when trying to compile. nettool.c: In function ‘netinfo_toggle_state’: nettool.c:478: error: ‘GtkWidget’ has no member named ‘window’ nettool.c:492: error: ‘GtkWidget’ has no member named ‘window’ nettool.c: In function ‘netinfo_toggle_button’: nettool.c:532: error: ‘GtkObject’ has no member named ‘flags’ make[2]: *** [nettool.o] Error 1 make[2]: Leaving directory `/home/andre/svn-gnome/gnome-nettool/src' make[1]: *** [all-recursive] Error 1
Adding dependency to bug 69872 because of GTK_WIDGET_SET_FLAGS
For this: src/nettool.c: GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT); You can use gtk_widget_set_can_default (GTK_WIDGET (button), TRUE);
Created attachment 155837 [details] [review] Make gnome-nettool compile with -DGSEAL_ENABLE bumps gtk+ requirement to 2.19.7 (required for GTK_WIDGET_REALIZED)
Comment on attachment 155837 [details] [review] Make gnome-nettool compile with -DGSEAL_ENABLE looks good
Review of attachment 155837 [details] [review]: Please, go ahead. Thanks!
Thanks for the review! Committed: http://git.gnome.org/browse/gnome-nettool/commit/?id=2e60ec1b6f727c638c7e9518a34ce5e270713dbb