diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-09-08 23:42:25 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-09-08 23:42:25 +0200 |
commit | 1b0d2fcd514607619dd91d98a39eeba992091585 (patch) | |
tree | 152f7fbaaa8fa221535b1afcf11bb1412da1bb93 /examples | |
parent | 016093d007cb353f73311717efe967c3e9a7b960 (diff) | |
download | gtk+-1b0d2fcd514607619dd91d98a39eeba992091585.tar.gz |
Use G_CALLBACK() instead deprecated GTK_SIGNAL_FUNC()
Diffstat (limited to 'examples')
-rw-r--r-- | examples/colorsel/colorsel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/colorsel/colorsel.c b/examples/colorsel/colorsel.c index d5eb68634d..4043a12887 100644 --- a/examples/colorsel/colorsel.c +++ b/examples/colorsel/colorsel.c @@ -97,7 +97,7 @@ gint main( gint argc, /* Attach to the "delete" and "destroy" events so we can exit */ g_signal_connect (GTK_OBJECT (window), "delete_event", - GTK_SIGNAL_FUNC (destroy_window), (gpointer) window); + G_CALLBACK (destroy_window), (gpointer) window); /* Create drawingarea, set size and catch button events */ @@ -113,7 +113,7 @@ gint main( gint argc, gtk_widget_set_events (drawingarea, GDK_BUTTON_PRESS_MASK); g_signal_connect (GTK_OBJECT (drawingarea), "event", - GTK_SIGNAL_FUNC (area_event), (gpointer) drawingarea); + G_CALLBACK (area_event), (gpointer) drawingarea); /* Add drawingarea to window, then show them both */ |