summaryrefslogtreecommitdiff
path: root/gtk/gtktext.c
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2000-11-13 13:15:41 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2000-11-13 13:15:41 +0000
commitb664be5ffb0f854c8e7464f34e93eb15227a8d2b (patch)
tree6d929c957e07a36606b56db749f850b464e66464 /gtk/gtktext.c
parent1ddb7f30f641a3d6ab9d734707e3582ad2a5dd61 (diff)
downloadgtk+-b664be5ffb0f854c8e7464f34e93eb15227a8d2b.tar.gz
GCompareFunc -> GEqualFunc where applicable.
2000-11-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk/linux-fb/gdkcolor-fb.c, gdk/nanox/gdkmain-nanox.c, gdk/win32/gdkcolor-win32.c, gdk/win32/gdkwin32id.c, gdk/x11/gdkcolor-x11.c, gdk/x11/gdkvisual-x11.c, gdk/x11/gdkxid.c, gtk/gtkgc.c, gtk/gtkrc.c, gtk/gtktext.c: GCompareFunc -> GEqualFunc where applicable. * gdk/linux-fb/gdkpango-fb.c: pango_font_description_compare -> pango_font_description_equal as changed in pango. * gdk/nanox/gdkmain-nanox.c: gdk_xid_compare -> gdk_xid_equal. * gdk/win32/gdkcolor-win32.c: gdk_colormap_cmp -> gdk_colormap_equal. * gdk/win32/gdkwin32id.c: gdk_handle_compare -> gdk_handle_equal. * gdk/x11/gdkcolor-x11.c: gdk_colormap_cmp -> gdk_colormap_equal. * gdk/x11/gdkvisual-x11.c: gdk_visual_compare -> gdk_visual_equal. * gdk/x11/gdkxid.c: gdk_xid_compare -> gdk_xid_equal. * gtk/gtkgc.c: gtk_gc_key_compare -> gtk_gc_key_equal and gtk_gc_drawable_compare -> gtk_gc_drawable_equal. * gtk/gtkrc.c: gtk_rc_style_compare -> gtk_rc_style_equal and gtk_rc_styles_compare -> gtk_rc_styles_equal.
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r--gtk/gtktext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index cd8bf8dde8..0e9c77ee23 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -2923,7 +2923,7 @@ get_text_font (GdkFont* gfont)
gint i;
if (!font_cache_table)
- font_cache_table = g_hash_table_new (font_hash, (GCompareFunc) gdk_font_equal);
+ font_cache_table = g_hash_table_new (font_hash, (GEqualFunc) gdk_font_equal);
tf = g_hash_table_lookup (font_cache_table, gfont);