[beast] BEAST-GTK: work around GtkSpinButton asserting page-size=0 in adjustments
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast] BEAST-GTK: work around GtkSpinButton asserting page-size=0 in adjustments
- Date: Tue, 23 Oct 2012 16:09:37 +0000 (UTC)
commit b62343a1d755a74bbb23c26ab1b90af44be92fa7
Author: Tim Janik <timj gnu org>
Date: Mon Oct 22 18:05:50 2012 +0200
BEAST-GTK: work around GtkSpinButton asserting page-size=0 in adjustments
beast-gtk/bstsnetrouter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/beast-gtk/bstsnetrouter.c b/beast-gtk/bstsnetrouter.c
index 568d49d..acfb334 100644
--- a/beast-gtk/bstsnetrouter.c
+++ b/beast-gtk/bstsnetrouter.c
@@ -1056,7 +1056,7 @@ bst_snet_router_init (BstSNetRouter *self)
"swapped_signal::event", bst_snet_router_root_event, self,
NULL);
- self->adjustment = (GtkAdjustment*) gtk_adjustment_new (1.0, 0.20, 5.00, 0.05, 0.50, 0.50);
+ self->adjustment = (GtkAdjustment*) gtk_adjustment_new (1.0, 0.20, 5.00, 0.05, 0.50, 0 /* 0.50 - spin buttons needs 0 */);
g_object_connect (self->adjustment,
"swapped_signal::value_changed", bst_snet_router_adjust_zoom, self,
"swapped_signal::destroy", g_nullify_pointer, &self->adjustment,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]