--- a/pidgin/plugins/contact_priority.c Thu Feb 06 16:53:42 2014 +0530 +++ b/pidgin/plugins/contact_priority.c Thu Feb 06 20:02:57 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))); }