GNOME Bugzilla – Bug 578219
toolbareditor: fix deprecated GTK+ symbols
Last modified: 2009-04-07 11:19:55 UTC
The toolbareditor currently uses the the gtk_widget_get_action function on three occasions. This function has been deprecated in gtk+-2.16 and should be replaced by gtk_activatable_get_related_action.
Created attachment 132255 [details] [review] fix compilation with -DGDK_DISABLE_DEPRECATED I didn't insert GTK_IS_ACTIVATABLE checks because the functions seem to be used with GtkToolitems only.
Thanks! Since this code is copied into modules which may or may not yet depend on gtk 2.16, please make this use #if GTK_CHECK_VERSION (2, 16, 0) (new code) #else (old code) #endif . Ok to commit with that fixed.
Good idea. :-) Done. 2009-04-07 Felix Riemann <> * libegg/toolbareditor/egg-editable-toolbar.c: (drag_begin_cb), (drag_end_cb), (configure_item_tooltip): Fix deprecated GTK+ symbols in the toolbareditor in a backwards compatible way. Fixes bug #578219.