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 572846 - Remove deprecated Glib symbols
Remove deprecated Glib symbols
Status: RESOLVED FIXED
Product: libglade
Classification: Deprecated
Component: general
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: James Henstridge
James Henstridge
Depends on:
Blocks:
 
 
Reported: 2009-02-23 12:39 UTC by André Klapper
Modified: 2009-02-23 21:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2009-02-23 12:39:49 UTC
http://live.gnome.org/GnomeGoals/RemoveDeprecatedSymbols/Glib

$:andre\> grep -r g_hash_table_freeze .
./glade/makekeys.awk:  printf "    g_hash_table_freeze(hash);\n";
./test/domp.c:	g_hash_table_freeze(tree->hash);

$:andre\> grep -r g_hash_table_thaw .
./glade/makekeys.awk:  printf "    g_hash_table_thaw(hash);\n";
./test/domp.c:	g_hash_table_thaw(tree->hash);

$:andre\> grep -r g_string_sprintfa .
./test/saxp.c:	    g_string_sprintfa(state->style_data, "  font = \"%s\"\n",
./test/saxp.c:	    g_string_sprintfa(state->style_data,
./test/saxp.c:	    g_string_sprintfa(state->style_data,
./test/saxp.c:	    g_string_sprintfa(state->style_data,
./test/saxp.c:	    g_string_sprintfa(state->style_data,
./test/saxp.c:	    g_string_sprintfa(state->style_data, "  bg_pixmap[%s] = \"%s\"\n",
Comment 1 André Klapper 2009-02-23 21:56:39 UTC
http://library.gnome.org/devel/glib/2.8/glib-Hash-Tables.html#g-hash-table-freeze
http://library.gnome.org/devel/glib/2.8/glib-Hash-Tables.html#g-hash-table-thaw
say:
"This function is deprecated and will be removed in the next major release of GLib. It does nothing."

g_string_sprintfa has been just renamed according to the docs.


As libglade already requires glib 2.10 and our API documentation never lies I've patched this myself:

http://svn.gnome.org/viewvc/libglade?view=revision&revision=550