GNOME Bugzilla – Bug 580343
Remove deprecated GTK+ symbols
Last modified: 2009-11-09 18:11:04 UTC
According to http://www.gnome.org/~fpeters/299.html ,
GIMP uses several deprecated GTK+ functions that will be removed for GTK+ 3.
gdk_string_width, gtk_action_connect_proxy, gtk_clist_set_row_data, gtk_label_set, gtk_option_menu_new, gtk_option_menu_set_history, gtk_option_menu_set_menu, gtk_preview_draw_row, gtk_preview_new, gtk_preview_set_expand, gtk_signal_handler_block, gtk_toolbar_set_orientation, gtk_widget_get_action
Also see http://www.gnome.org/~fpeters/299.html and http://live.gnome.org/GnomeGoals/RemoveDeprecatedSymbols/GTK%2B .
We remove deprecated stuff each time we bump the gtk and glib
requirements, but we can't remove stuff we have in our public API
(like GtkOptionMenu) unless GIMP itself jumps to 3.0; and we can't
remove them unless we depend on a gtk version that actually has
Also, this is an ongoing task that never ends because each gtk version
brings new deprecations. Therefore closing as INVALID because we will
never be able to close this bug.
Btw, most of the symbols you mention are only used in plugins we would
rather want to lose than port them to proper code ourselves :-)
Did we deprecate all the widgets in our public API that use deprecated GTK+ functions? We should at least make sure that this is the case.
List of deprecated GTK symbols used by GIMP is available by going to http://www.gnome.org/~fpeters/reports/299.html and taking a look at the mouseover popup for the corresponding cell.
Perhaps that script needs to be improved. Most of the hits in GIMP were actually false positives caused by use of deprecated symbols in comments.