GNOME Bugzilla – Bug 559671
Cleanups for -DG_DISABLE_DEPRECATED
Last modified: 2010-08-03 16:24:24 UTC
Attaching a patch
Created attachment 122158 [details] [review] patch
Thanks, applied: 2008-12-09 Hans Breuer <hans@breuer.org> * lib/diasvgrenderer.c lib/persistence.c lib/prop_basic.c : reduced use of long time deprecated functions ( Kjartan Maraas, bug #559671)
This bus is still not fixed. See http://www.gnome.org/~fpeters/299.html for deprecated Glib symbols already in use.
"Still not fixed" is misleading - probably those symbols have been deprecated after this bug had been closed as FIXED. :-) Curerntly offending symbols are: g_basename, g_dirname, g_strcasecmp, g_strncasecmp
If you cite that page, please also follow the link given there to http://bugzilla.gnome.org/show_bug.cgi?id=575016 This had a patch in nothing to do with huge deprecation work. And the reopening was simply wrong.
Hans: Reopening was not wrong. The bug you link against is about GTK+. This is about Glib.
Reopening still was wrong, for the reason *you* gave. The patch is applied and released quite some time ago.
Yeah, that's why I now set the patch status to "committed" and reopen. And everything is fine and correct.
Of course you are right, I should have resolved as invalid.
Just compiled it with make CFLAGS+="-DG_DISABLE_DEPRECATED" and it compiled just fine, although there are some deprecated symbols. maybe the functions that call the deprecated symbols are unused.
http://git.gnome.org./browse/dia/commit/?id=6081d6322f76a2fe3a9d541acc9b650fde7f744b