GNOME Bugzilla – Bug 561963
Remove deprecated GTK+ symbols
Last modified: 2011-11-11 10:03:55 UTC
I'm working on implementing
Created attachment 123244 [details] [review]
patch for this bug
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.
$:andre\> grep -r gdk_window_get_size .
./src/procman.cpp: gdk_window_get_size (data->app->window, &width, &height);
$:andre\> grep -r gtk_widget_get_action .
./src/interface.cpp: action = gtk_widget_get_action(GTK_WIDGET(proxy));
Created attachment 129528 [details] [review]
replace deprecated gdk_window_get_size with gdk_drawable_get_size
Trivial patch for gdk_window_get_size.
gdk_window_get_size simply is:
#define gdk_window_get_size gdk_drawable_get_size
very trivial patch for gdk_window_get_size.
gtk_widget_get_action is first deprecated for 2.16
Benoît, can this one-liner please get in?
Created attachment 132256 [details] [review]
Replace gtk_widget_get_action with gtk_activatable_get_related_action
Patch for the last case of deprecated gtk symbols in gnome-system-monitor.
gtk_activatable_get_related_action requires gtk 2.16 so bumping that too.
Benoit, could that last one go in ?
Sorry Frederic, i was waiting for my Debian/Sid to update its libgtk.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Reopening as gnome-system-tools uses GTK_WIDGET_TOPLEVEL:
if (GTK_WIDGET_TOPLEVEL (parent) && GTK_IS_WINDOW (parent))
gnome-system-tools is a different module :-)