summaryrefslogtreecommitdiff
path: root/examples/wheelbarrow
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2002-02-19 19:47:16 +0000
committerSven Neumann <neo@src.gnome.org>2002-02-19 19:47:16 +0000
commit6dea3cae13ddf8a5e882fe8296678bb7be2a94d8 (patch)
treea40a07c80c406c91894e38064e6ec1ea559ef178 /examples/wheelbarrow
parent601302c7a308664c09bc5ee2e23621b34747a252 (diff)
downloadgtk+-6dea3cae13ddf8a5e882fe8296678bb7be2a94d8.tar.gz
finish conversion to g_signal_* functions by using G_OBJECT and G_CALLBACK
2002-02-19 Sven Neumann <sven@gimp.org> * examples/*/*.c: finish conversion to g_signal_* functions by using G_OBJECT and G_CALLBACK and other assorted changes.
Diffstat (limited to 'examples/wheelbarrow')
-rw-r--r--examples/wheelbarrow/wheelbarrow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/wheelbarrow/wheelbarrow.c b/examples/wheelbarrow/wheelbarrow.c
index 062f078f0b..12d8395c0c 100644
--- a/examples/wheelbarrow/wheelbarrow.c
+++ b/examples/wheelbarrow/wheelbarrow.c
@@ -142,8 +142,8 @@ int main (int argc,
* since we're making it a popup. */
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_POPUP);
- g_signal_connect (GTK_OBJECT (window), "delete_event",
- GTK_SIGNAL_FUNC (close_application), NULL);
+ g_signal_connect (G_OBJECT (window), "delete_event",
+ G_CALLBACK (close_application), NULL);
gtk_widget_show (window);
/* Now for the pixmap and the pixmap widget */