pidgin/plugins/contact_priority.c

branch
soc.2013.gobjectification.plugins
changeset 37075
cf3f735b09b7
parent 36935
5384600e613c
parent 35378
5d9e2581005b
child 37109
94d1a2589d5a
--- 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)));
 }
 

mercurial