[Xfce4-commits] <xfce4-genmon-plugin:master> Fix "GtkSpinButton: setting an adjustment with non-zero page size is deprecated" warning.
John Lindgren
noreply at xfce.org
Sun Jan 1 21:58:01 CET 2012
Updating branch refs/heads/master
to cff8ed40cf4ffeb5d37b377b87c0e92cf9a3a44c (commit)
from 2a9c958cc1cd86bd1172f8dadd1dc3fbae3d3fa2 (commit)
commit cff8ed40cf4ffeb5d37b377b87c0e92cf9a3a44c
Author: John Lindgren <john.lindgren at aol.com>
Date: Sun Jan 1 15:55:34 2012 -0500
Fix "GtkSpinButton: setting an adjustment with non-zero page size is deprecated" warning.
panel-plugin/config_gui.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/panel-plugin/config_gui.c b/panel-plugin/config_gui.c
index 90162d0..49ef267 100644
--- a/panel-plugin/config_gui.c
+++ b/panel-plugin/config_gui.c
@@ -3,7 +3,7 @@
* Construct the configure GUI
* Copyright (c) 2004 Roger Seguin <roger_seguin at msn.com>
* <http://rmlx.dyndns.org>
- *
+ *
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
@@ -141,7 +141,7 @@ int genmon_CreateConfigGUI (GtkWidget *vbox1,
gtk_widget_show (alignment1);
gtk_container_add (GTK_CONTAINER (eventbox1), alignment1);
- wSc_Period_adj = gtk_adjustment_new (15, 1, 60*60*24, 1, 1, 10);
+ wSc_Period_adj = gtk_adjustment_new (15, 1, 60*60*24, 1, 1, 0);
wSc_Period = gtk_spin_button_new (GTK_ADJUSTMENT (wSc_Period_adj), 1, 0);
gtk_widget_show (wSc_Period);
gtk_container_add (GTK_CONTAINER (alignment1), wSc_Period);
More information about the Xfce4-commits
mailing list