pidgin: eaf8f9a7: Change the page_size on the GtkAdjustmen...
qulogic at pidgin.im
qulogic at pidgin.im
Sat Jul 4 00:31:24 EDT 2009
-----------------------------------------------------------------
Revision: eaf8f9a796d478b3a422d6fa958826e76a5ab9a5
Ancestor: dc960b2ad7b32fa7d865552300a003a71689cfe9
Author: qulogic at pidgin.im
Date: 2009-07-04T03:24:43
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/eaf8f9a796d478b3a422d6fa958826e76a5ab9a5
Modified files:
pidgin/gtkprefs.c
ChangeLog:
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.
-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c a7e8c419f447348484fd6245867530e5af31d9fc
+++ pidgin/gtkprefs.c 6d724453646fe7a5111577de89ffe9b580fec58c
@@ -114,7 +114,7 @@ pidgin_prefs_labeled_spin_button(GtkWidg
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)
More information about the Commits
mailing list