GNOME Bugzilla – Bug 628499
Make gnome-utils future-safe
Last modified: 2010-09-01 12:58:29 UTC
Here's a set of patches that make gnome-utils work with "-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -Wall -Werror". The only complex change is making the screenshot area code use a GtkWindow instead of scribbling all over the root window.
Created attachment 169237 [details] [review] screenshot: Fix compiler warnings
Created attachment 169238 [details] [review] gsearchtool: Use gtk_widget_set_can_default() Replaces previous usage of GTK_WIDGET_SET_FLAGS() and makes code sealing-safe.
Created attachment 169239 [details] [review] logview: Use gtk_widget_set_can_focus Replaces previous usage of GTK_WIDGET_SET_FLAGS() and makes code sealing-safe.
Created attachment 169240 [details] [review] screenshot: Draw preview widget with Cairo
Created attachment 169241 [details] [review] screenshot: Don't draw directly to the root window Instead, create a GtkWindow to draw the selected area with. As a side effect, the selected area looks much nicer and not like 1995 anymore. Also, the code doesn't use deprecated APIs anymore.
Created attachment 169242 [details] [review] baobab: Fix compiler warnings from -Wall Seriously, people...
Created attachment 169243 [details] [review] gdict: Fix compiler warnings from -Wall
feel free to commit them all - they all look sane to me.
Pushed them all. And I was free to add another patch that cleans up -Wall for the logviewer.