# HG changeset patch # User Elliott Sales de Andrade # Date 1261542612 0 # Node ID 78a63f5590f24b637f11263bbb52f30a14174e79 # Parent 2df96ace4f33f9bc848beeeb9cfd9ccf9a656586 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. diff -r 2df96ace4f33 -r 78a63f5590f2 pidgin/gtkprefs.c --- 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();