[Xfce4-commits] <xfce4-diskperf-plugin:master> Set gtk_adjustment_new() page_size argument to 0
Landry Breuil
noreply at xfce.org
Tue Apr 3 16:36:11 CEST 2012
Updating branch refs/heads/master
to 408bb6471c6e45cc5a16dff69554843c3e327d6a (commit)
from d90b283ffa6cf6a920b78e60b64cd782bcc0fb86 (commit)
commit 408bb6471c6e45cc5a16dff69554843c3e327d6a
Author: Landry Breuil <landry at xfce.org>
Date: Tue Apr 3 15:51:15 2012 +0200
Set gtk_adjustment_new() page_size argument to 0
Fixes "Gtk-WARNING **: GtkSpinButton: setting an adjustment with
non-zero page size is deprecated", cf Gtk doc on
http://developer.gnome.org/gtk/unstable/GtkAdjustment.html#GtkAdjustment--page-size
panel-plugin/config_gui.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
index 34982bf..95a589f 100644
--- a/panel-plugin/config_gui.c
+++ b/panel-plugin/config_gui.c
@@ -127,7 +127,7 @@ int CreateConfigGUI (GtkWidget * vbox1, struct gui_t *p_poGUI)
gtk_widget_show (alignment1);
gtk_container_add (GTK_CONTAINER (eventbox1), alignment1);
- wSc_Period_adj = gtk_adjustment_new (0.5, 0.25, 4, 0.05, 1, 10);
+ wSc_Period_adj = gtk_adjustment_new (0.5, 0.25, 4, 0.05, 1, 0);
wSc_Period =
gtk_spin_button_new (GTK_ADJUSTMENT (wSc_Period_adj), 1, 3);
gtk_widget_show (wSc_Period);
More information about the Xfce4-commits
mailing list