summaryrefslogtreecommitdiff
path: root/examples/rangewidgets
diff options
context:
space:
mode:
authorGMT 2003 Tony Gale <gale@gtk.org>2003-01-23 21:08:59 +0000
committerTony Gale <gale@src.gnome.org>2003-01-23 21:08:59 +0000
commit5496e6afc5f18ec24df84c76d9e935a02e649ac9 (patch)
tree1f39223098efe2dea8dee8b334f5a617562bc44e /examples/rangewidgets
parentc4b771b8e5e1a7c6076f39f811b923030c7a0a19 (diff)
downloadgtk+-5496e6afc5f18ec24df84c76d9e935a02e649ac9.tar.gz
*** RETRY - last commit aborted half way through
Thu Jan 23 20:56:56 GMT 2003 Tony Gale <gale@gtk.org> * Sebastian Rittau <srittau@jroger.in-berlin.de>: docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a Composite widget" to modern standards. (I.e. use gobject instead of glib, derive from GtkTable instead of GtkVBox.) Bugzilla #103869. * docs/tutorial/gtk-tut.sgml, examples/tictactoe: Fixup tic-tac-toe code in Appendix C to reflect above changes. * examples/rangewidgets/rangewidgets.c: From Roger Leigh auto resize on page size change
Diffstat (limited to 'examples/rangewidgets')
-rw-r--r--examples/rangewidgets/rangewidgets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/rangewidgets/rangewidgets.c b/examples/rangewidgets/rangewidgets.c
index 457dd6a4a3..be4b6cc092 100644
--- a/examples/rangewidgets/rangewidgets.c
+++ b/examples/rangewidgets/rangewidgets.c
@@ -39,6 +39,7 @@ void cb_page_size( GtkAdjustment *get,
gtk_adjustment_set_value (set, CLAMP (set->value,
set->lower,
(set->upper - set->page_size)));
+ g_signal_emit_by_name(G_OBJECT(set), "changed");
}
void cb_draw_value( GtkToggleButton *button )