Mercurial > pidgin
comparison src/gtkblist.c @ 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 | 7630a95f3b8b |
children | cdb0e57f4a76 |
comparison
equal
deleted
inserted
replaced
12325:33026deed1ce | 12326:a0b0e0e95ed0 |
---|---|
3290 gtk_tree_view_column_set_visible(gtkblist->idle_column, TRUE); | 3290 gtk_tree_view_column_set_visible(gtkblist->idle_column, TRUE); |
3291 gtk_tree_view_column_set_visible(gtkblist->buddy_icon_column, FALSE); | 3291 gtk_tree_view_column_set_visible(gtkblist->buddy_icon_column, FALSE); |
3292 } | 3292 } |
3293 } | 3293 } |
3294 | 3294 |
3295 static void | |
3296 show_buddy_icons_pref_cb(const char *name, GaimPrefType type, | |
3297 gpointer val, gpointer data) | |
3298 { | |
3299 gaim_gtk_blist_update_columns(); | |
3300 } | |
3301 | |
3295 enum { | 3302 enum { |
3296 DRAG_BUDDY, | 3303 DRAG_BUDDY, |
3297 DRAG_ROW, | 3304 DRAG_ROW, |
3298 DRAG_VCARD, | 3305 DRAG_VCARD, |
3299 DRAG_TEXT, | 3306 DRAG_TEXT, |
3644 gaim_prefs_connect_callback(handle, "/gaim/gtk/blist/sort_type", | 3651 gaim_prefs_connect_callback(handle, "/gaim/gtk/blist/sort_type", |
3645 _prefs_change_sort_method, NULL); | 3652 _prefs_change_sort_method, NULL); |
3646 | 3653 |
3647 /* things that affect what columns are displayed */ | 3654 /* things that affect what columns are displayed */ |
3648 gaim_prefs_connect_callback(handle, "/gaim/gtk/blist/show_buddy_icons", | 3655 gaim_prefs_connect_callback(handle, "/gaim/gtk/blist/show_buddy_icons", |
3649 gaim_gtk_blist_update_columns, NULL); | 3656 show_buddy_icons_pref_cb, NULL); |
3650 | 3657 |
3651 /* menus */ | 3658 /* menus */ |
3652 gaim_prefs_connect_callback(handle, "/gaim/gtk/sound/mute", | 3659 gaim_prefs_connect_callback(handle, "/gaim/gtk/sound/mute", |
3653 gaim_gtk_blist_mute_pref_cb, NULL); | 3660 gaim_gtk_blist_mute_pref_cb, NULL); |
3654 gaim_prefs_connect_callback(handle, "/gaim/gtk/sound/method", | 3661 gaim_prefs_connect_callback(handle, "/gaim/gtk/sound/method", |