diff options
Diffstat (limited to 'examples/aspectframe/aspectframe.c')
-rw-r--r-- | examples/aspectframe/aspectframe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/aspectframe/aspectframe.c b/examples/aspectframe/aspectframe.c index 654f580f97..f32da1b9d2 100644 --- a/examples/aspectframe/aspectframe.c +++ b/examples/aspectframe/aspectframe.c @@ -11,8 +11,8 @@ int main( int argc, window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_title (GTK_WINDOW (window), "Aspect Frame"); - g_signal_connect (GTK_OBJECT (window), "destroy", - GTK_SIGNAL_FUNC (gtk_main_quit), NULL); + g_signal_connect (G_OBJECT (window), "destroy", + G_CALLBACK (gtk_main_quit), NULL); gtk_container_set_border_width (GTK_CONTAINER (window), 10); /* Create an aspect_frame and add it to our toplevel window */ |