GNOME Bugzilla – Bug 585042
Use accessor functions instead direct access
Last modified: 2010-06-22 09:08:13 UTC
See http://live.gnome.org/GnomeGoals/UseGseal for more details
Created attachment 136077 [details] [review] Use accessor functions instead direct access
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.
*** Bug 612499 has been marked as a duplicate of this bug. ***
Reopening
gedit-spinner.c: In function ‘gedit_spinner_init’: gedit-spinner.c:619: error: ‘GtkObject’ has no member named ‘flags’ gedit-spinner.c: In function ‘gedit_spinner_expose’: gedit-spinner.c:640: warning: implicit declaration of function ‘GTK_WIDGET_DRAWABLE’ gedit-spinner.c:671: error: ‘GtkWidget’ has no member named ‘allocation’ gedit-spinner.c:672: error: ‘GtkWidget’ has no member named ‘allocation’ gedit-spinner.c:674: error: ‘GtkWidget’ has no member named ‘allocation’ gedit-spinner.c:675: error: ‘GtkWidget’ has no member named ‘allocation’ gedit-spinner.c:684: error: ‘GtkWidget’ has no member named ‘window’ gedit-spinner.c:685: error: ‘GtkWidget’ has no member named ‘window’ gedit-spinner.c:686: error: ‘GtkWidget’ has no member named ‘allocation’ gedit-spinner.c:687: error: ‘GtkWidget’ has no member named ‘allocation’ gedit-spinner.c: In function ‘gedit_spinner_start’: gedit-spinner.c:734: warning: implicit declaration of function ‘GTK_WIDGET_MAPPED’ make[2]: *** [gedit-spinner.o] Error 1 make[2]: Leaving directory `/home/andre/svn-gnome/vino/capplet'
Created attachment 158583 [details] [review] Patch fixing all but one issue Bumps gtk+ requirement from 2.16 and 2.18. Added three "#if GTK_CHECK_VERSION(2,20,0)" for gtk+ 2.20 API usage. Only issue left to fix is "GTK_LABEL(url_label)->layout = NULL;" in sexy-url-label.c. No idea what to do with that.
Jonh, any chance you review the patch? It seems there's only one issue left! ;-)
I'd suggest you to use GtkSpinner, so you can get rid of the gedit-spinner part. See blocker bug
Thanks! Verified with fresh git master checkout.