Declare value in the example code for GtkSpinButton::output, as pointed

2008-01-06  Johan Dahlin  <johan@gnome.org>

	* gtk/gtkspinbutton.c: Declare value in the example code for
	GtkSpinButton::output, as pointed out by Anders Carlsson.


svn path=/trunk/; revision=19319
This commit is contained in:
Johan Dahlin
2008-01-07 01:26:39 +00:00
committed by Johan Dahlin
parent 67fd8b248d
commit 0c05c6a917
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-01-06 Johan Dahlin <johan@gnome.org>
* gtk/gtkspinbutton.c: Declare value in the example code for
GtkSpinButton::output, as pointed out by Anders Carlsson.
2008-01-06 Christian Persch <chpe@gnome.org>
* gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,

View File

@ -304,6 +304,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
* {
* GtkAdjustment *adj;
* gchar *text;
* int value;
*
* adj = gtk_spin_button_get_adjustment (spin);
* value = (int)gtk_adjustment_get_value (adj);