summaryrefslogtreecommitdiff
path: root/examples/scribble-xinput/scribble-xinput.c
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/scribble-xinput/scribble-xinput.c
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/scribble-xinput/scribble-xinput.c')
-rw-r--r--examples/scribble-xinput/scribble-xinput.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/scribble-xinput/scribble-xinput.c b/examples/scribble-xinput/scribble-xinput.c
index 59ee21aacf..2a2909b103 100644
--- a/examples/scribble-xinput/scribble-xinput.c
+++ b/examples/scribble-xinput/scribble-xinput.c
@@ -158,11 +158,11 @@ create_input_dialog ()
inputd = gtk_input_dialog_new();
g_signal_connect (G_OBJECT (inputd), "destroy",
- G_CALLBACK (input_dialog_destroy), &inputd);
+ G_CALLBACK (input_dialog_destroy), (gpointer) &inputd);
g_signal_connect_swapped (G_OBJECT (GTK_INPUT_DIALOG (inputd)->close_button),
"clicked",
G_CALLBACK (gtk_widget_hide),
- inputd);
+ G_OBJECT (inputd));
gtk_widget_hide (GTK_INPUT_DIALOG (inputd)->save_button);
gtk_widget_show (inputd);
@@ -248,7 +248,7 @@ main (int argc, char *argv[])
g_signal_connect_swapped (G_OBJECT (button), "clicked",
G_CALLBACK (gtk_widget_destroy),
- window);
+ G_OBJECT (window));
gtk_widget_show (button);
gtk_widget_show (window);