Mercurial > pidgin.yaz
changeset 29201:78a63f5590f2
Since the prefs variable holds the widget that refers to the prefs dialog,
it's still NULL in pidgin_prefs_init(), so using it for a handle is not a
good idea. Of course, the prefs connection is never removed, so it's not
that big of a deal.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Wed, 23 Dec 2009 04:30:12 +0000 |
parents | 2df96ace4f33 |
children | 811c12e6d965 |
files | pidgin/gtkprefs.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkprefs.c Wed Dec 23 04:27:15 2009 +0000 +++ b/pidgin/gtkprefs.c Wed Dec 23 04:30:12 2009 +0000 @@ -2860,7 +2860,7 @@ purple_prefs_add_string(PIDGIN_PREFS_ROOT "/smileys/theme", "Default"); /* Smiley Callbacks */ - purple_prefs_connect_callback(prefs, PIDGIN_PREFS_ROOT "/smileys/theme", + purple_prefs_connect_callback(&prefs, PIDGIN_PREFS_ROOT "/smileys/theme", smiley_theme_pref_cb, NULL); pidgin_prefs_update_old();