After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 580343 - Remove deprecated GTK+ symbols
Remove deprecated GTK+ symbols
Status: RESOLVED INVALID
Product: GIMP
Classification: Other
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-04-26 21:56 UTC by André Klapper
Modified: 2009-11-09 18:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2009-04-26 21:56:59 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 .
Comment 1 Michael Natterer 2009-04-27 19:53:56 UTC
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
a replacement.

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 :-)
Comment 2 Sven Neumann 2009-11-09 08:38:37 UTC
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.
Comment 3 André Klapper 2009-11-09 09:51:40 UTC
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.
Comment 4 Sven Neumann 2009-11-09 18:11:04 UTC
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.