changeset 12326:a0b0e0e95ed0

[gaim-migrate @ 14630] Get rid of a warning! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 04 Dec 2005 21:39:34 +0000
parents 33026deed1ce
children 508ac301e74b
files src/gtkblist.c
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Sun Dec 04 21:01:20 2005 +0000
+++ b/src/gtkblist.c	Sun Dec 04 21:39:34 2005 +0000
@@ -3292,6 +3292,13 @@
 	}
 }
 
+static void
+show_buddy_icons_pref_cb(const char *name, GaimPrefType type,
+						 gpointer val, gpointer data)
+{
+	gaim_gtk_blist_update_columns();
+}
+
 enum {
 	DRAG_BUDDY,
 	DRAG_ROW,
@@ -3646,7 +3653,7 @@
 
 	/* things that affect what columns are displayed */
 	gaim_prefs_connect_callback(handle, "/gaim/gtk/blist/show_buddy_icons",
-			gaim_gtk_blist_update_columns, NULL);
+			show_buddy_icons_pref_cb, NULL);
 
 	/* menus */
 	gaim_prefs_connect_callback(handle, "/gaim/gtk/sound/mute",