summaryrefslogtreecommitdiff
path: root/examples/spinbutton
diff options
context:
space:
mode:
authorBST 2002 Tony Gale <gale@gtk.org>2002-08-25 11:28:42 +0000
committerTony Gale <gale@src.gnome.org>2002-08-25 11:28:42 +0000
commit992ea8e1d7a4673831b146e803578dda3a36d44c (patch)
tree869788fa12a1dc9bb945ef3611c94f2b4f3f4a84 /examples/spinbutton
parent2f31e7ed12099c8a6c54255867e9fc9dbb88dd89 (diff)
downloadgtk+-992ea8e1d7a4673831b146e803578dda3a36d44c.tar.gz
update packaging script for current tutorial
Sun Aug 25 11:58:27 BST 2002 Tony Gale <gale@gtk.org> * docs/tutorial/package-db-tutorial.sh: update packaging script for current tutorial * docs/tutorial/images/*.eps: New Files EPS versions of the tutorial images
Diffstat (limited to 'examples/spinbutton')
-rw-r--r--examples/spinbutton/spinbutton.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/spinbutton/spinbutton.c b/examples/spinbutton/spinbutton.c
index 6247419ac5..ba54ed8d36 100644
--- a/examples/spinbutton/spinbutton.c
+++ b/examples/spinbutton/spinbutton.c
@@ -160,7 +160,7 @@ int main( int argc,
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spinner2), TRUE);
g_signal_connect (G_OBJECT (adj), "value_changed",
G_CALLBACK (change_digits),
- spinner2);
+ (gpointer) spinner2);
gtk_box_pack_start (GTK_BOX (vbox2), spinner2, FALSE, TRUE, 0);
hbox = gtk_hbox_new (FALSE, 0);
@@ -169,14 +169,14 @@ int main( int argc,
button = gtk_check_button_new_with_label ("Snap to 0.5-ticks");
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (toggle_snap),
- spinner1);
+ (gpointer) spinner1);
gtk_box_pack_start (GTK_BOX (vbox), button, TRUE, TRUE, 0);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE);
button = gtk_check_button_new_with_label ("Numeric only input mode");
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (toggle_numeric),
- spinner1);
+ (gpointer) spinner1);
gtk_box_pack_start (GTK_BOX (vbox), button, TRUE, TRUE, 0);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE);
@@ -207,7 +207,7 @@ int main( int argc,
button = gtk_button_new_with_label ("Close");
g_signal_connect_swapped (G_OBJECT (button), "clicked",
G_CALLBACK (gtk_widget_destroy),
- window);
+ G_OBJECT (window));
gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 5);
gtk_widget_show_all (window);