[Xfce4-commits] <xfce4-verve-plugin:master> fix gtk_adjustment warning

Landry Breuil noreply at xfce.org
Sun Dec 30 18:52:06 CET 2012


Updating branch refs/heads/master
         to e113585ff14a119094b28b2f0d2757db4b491cc6 (commit)
       from f7b923d980e3004c634750d6c2fedeb73f10b51e (commit)

commit e113585ff14a119094b28b2f0d2757db4b491cc6
Author: Landry Breuil <landry at xfce.org>
Date:   Sun Dec 30 18:51:19 2012 +0100

    fix gtk_adjustment warning

 panel-plugin/verve-plugin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index f8bd7c4..194b76c 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -822,7 +822,7 @@ verve_plugin_properties (XfcePanelPlugin *plugin,
   gtk_widget_show (size_label);
 
   /* Plugin size adjustment */
-  adjustment = gtk_adjustment_new (verve->size, 5, 100, 1, 5, 10);
+  adjustment = gtk_adjustment_new (verve->size, 5, 100, 1, 5, 0);
 
   /* Plugin size spin button */
   size_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjustment), 1, 0);
@@ -853,7 +853,7 @@ verve_plugin_properties (XfcePanelPlugin *plugin,
   gtk_widget_show (history_length_label);
 
   /* History length adjustment */
-  adjustment = gtk_adjustment_new (verve->history_length, 0, 1000, 1, 5, 10);
+  adjustment = gtk_adjustment_new (verve->history_length, 0, 1000, 1, 5, 0);
 
   /* History length spin button */
   history_length_spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjustment), 1, 0);


More information about the Xfce4-commits mailing list