summaryrefslogtreecommitdiff
path: root/examples/pixmap
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/pixmap
parent601302c7a308664c09bc5ee2e23621b34747a252 (diff)
downloadgdk-pixbuf-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/pixmap')
-rw-r--r--examples/pixmap/pixmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/pixmap/pixmap.c b/examples/pixmap/pixmap.c
index 97c7e83ac..09a0a4539 100644
--- a/examples/pixmap/pixmap.c
+++ b/examples/pixmap/pixmap.c
@@ -57,8 +57,8 @@ int main( int argc,
the application */
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- gtk_signal_connect (GTK_OBJECT (window), "delete_event",
- GTK_SIGNAL_FUNC (close_application), NULL);
+ gtk_signal_connect (G_OBJECT (window), "delete_event",
+ G_CALLBACK (close_application), NULL);
gtk_container_set_border_width (GTK_CONTAINER (window), 10);
gtk_widget_show (window);
@@ -78,8 +78,8 @@ int main( int argc,
gtk_container_add (GTK_CONTAINER (window), button);
gtk_widget_show (button);
- g_signal_connect (GTK_OBJECT (button), "clicked",
- GTK_SIGNAL_FUNC (button_clicked), NULL);
+ g_signal_connect (G_OBJECT (button), "clicked",
+ G_CALLBACK (button_clicked), NULL);
/* show the window */
gtk_main ();