[Xfce4-commits] <thunar-media-tags-plugin:master> Fix Gtk Warning of non-zero page size.
Nick Schermer
noreply at xfce.org
Wed Nov 30 19:40:06 CET 2011
Updating branch refs/heads/master
to b580cba44ee89c2e5fbad1cd6ad49fa3be0d2da0 (commit)
from 87cb5f9a738da648d48e1222aede52c79b2d2a4c (commit)
commit b580cba44ee89c2e5fbad1cd6ad49fa3be0d2da0
Author: Nick Schermer <nick at xfce.org>
Date: Wed Nov 30 18:51:47 2011 +0100
Fix Gtk Warning of non-zero page size.
Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
thunar-plugin/audio-tags-page.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/thunar-plugin/audio-tags-page.c b/thunar-plugin/audio-tags-page.c
index 5b2c1f5..ce04685 100644
--- a/thunar-plugin/audio-tags-page.c
+++ b/thunar-plugin/audio-tags-page.c
@@ -306,7 +306,7 @@ audio_tags_page_init (AudioTagsPage *page)
gtk_widget_show (alignment);
/* Track adjustment */
- adjustment = gtk_adjustment_new (0, 0, 999, 1, 5, 10);
+ adjustment = gtk_adjustment_new (0, 0, 999, 1, 5, 0);
/* Track spin button */
spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjustment), 0.0, 0);
@@ -329,7 +329,7 @@ audio_tags_page_init (AudioTagsPage *page)
gtk_widget_show (alignment);
/* Year spin button range description */
- adjustment = gtk_adjustment_new (2006, 1700, 9999, 1, 10, 100);
+ adjustment = gtk_adjustment_new (2006, 1700, 9999, 1, 10, 0);
/* Year spin button */
spin = gtk_spin_button_new (GTK_ADJUSTMENT (adjustment), 1, 0);
More information about the Xfce4-commits
mailing list