# HG changeset patch # User Elliott Sales de Andrade # Date 1246677883 0 # Node ID 00d9a2e247970f822782fb4e06a1e62767c5615f # Parent 802de68c9fc34d5fdf48af6d3d7bca934922bd41 Change the page_size on the GtkAdjustment used for GtkSpinButtons on the prefs pages. It's not used with them and should be zero. This fixes the warnings from Gtk: "GtkSpinButton: setting an adjustment with non-zero page size is deprecated". Oh, and this description is longer than the fix. I wish fixing all bugs were this easy. diff -r 802de68c9fc3 -r 00d9a2e24797 pidgin/gtkprefs.c --- a/pidgin/gtkprefs.c Fri Jul 03 19:28:25 2009 +0000 +++ b/pidgin/gtkprefs.c Sat Jul 04 03:24:43 2009 +0000 @@ -114,7 +114,7 @@ val = purple_prefs_get_int(key); - adjust = gtk_adjustment_new(val, min, max, 1, 1, 1); + adjust = gtk_adjustment_new(val, min, max, 1, 1, 0); spin = gtk_spin_button_new(GTK_ADJUSTMENT(adjust), 1, 0); g_object_set_data(G_OBJECT(spin), "val", (char *)key); if (max < 10000)