diff -r 9f8e83051c26 -r 5d9e2581005b pidgin/plugins/contact_priority.c --- a/pidgin/plugins/contact_priority.c Thu Feb 06 01:10:04 2014 -0800 +++ b/pidgin/plugins/contact_priority.c Thu Feb 06 18:56:36 2014 +0530 @@ -46,9 +46,9 @@ static void pref_update(GtkWidget *widget, char *pref) { - if (purple_prefs_get_type(pref) == PURPLE_PREF_INT) + if (purple_prefs_get_pref_type(pref) == PURPLE_PREF_INT) purple_prefs_set_int(pref, gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(widget))); - if (purple_prefs_get_type(pref) == PURPLE_PREF_BOOLEAN) + if (purple_prefs_get_pref_type(pref) == PURPLE_PREF_BOOLEAN) purple_prefs_set_bool(pref, gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget))); }