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 570725 - Get rid of deprecated gnome-url in libslab
Get rid of deprecated gnome-url in libslab
Status: RESOLVED FIXED
Product: gnome-main-menu
Classification: Other
Component: libslab
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME main menu maintainers
GNOME main menu maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-05 23:12 UTC by André Klapper
Modified: 2009-05-15 00:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
removed deprecated symbols (878 bytes, patch)
2009-04-09 01:28 UTC, Kyle Pelton
none Details | Review

Description André Klapper 2009-02-05 23:12:55 UTC
./gnome-control-center/libslab/libslab-utils.c:
	gnome_url_show (help_uri, & error);
./gnome-control-center/libslab/slab-gnome-util.c:
	gnome_url_show (help_uri, &error);

According to http://live.gnome.org/LibgnomeMustDie 
gnome-url is deprecated and has been replaced with gtk_show_uri().

For API see
http://library.gnome.org/devel/libgnome/stable/libgnome-gnome-url.html
http://library.gnome.org/devel/gtk/stable/gtk-Filesystem-utilities.html#gtk-show-uri

Note that gtk-show-uri exists since GTK+ 2.14 (hence might require a dependency bump).
Comment 1 Kyle Pelton 2009-04-09 01:28:55 UTC
Created attachment 132376 [details] [review]
removed deprecated symbols

changed  gnome_url_show to gtk_url_show
Comment 2 Scott Reeves 2009-05-15 00:45:55 UTC
Thanks for the patch. Committed a slightly modified version.