diff options
Diffstat (limited to 'addressbook/gui/widgets/test-minicard.c')
-rw-r--r-- | addressbook/gui/widgets/test-minicard.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/addressbook/gui/widgets/test-minicard.c b/addressbook/gui/widgets/test-minicard.c index b84a591bbb..77cc2975cb 100644 --- a/addressbook/gui/widgets/test-minicard.c +++ b/addressbook/gui/widgets/test-minicard.c @@ -105,13 +105,13 @@ int main( int argc, char *argv[] ) gnome_app_set_contents( GNOME_APP( app ), canvas ); /* Connect the signals */ - gtk_signal_connect( GTK_OBJECT( app ), "destroy", - GTK_SIGNAL_FUNC( destroy_callback ), - ( gpointer ) app ); - - gtk_signal_connect( GTK_OBJECT( canvas ), "size_allocate", - GTK_SIGNAL_FUNC( allocate_callback ), - ( gpointer ) app ); + g_signal_connect( app, "destroy", + G_CALLBACK( destroy_callback ), + ( gpointer ) app ); + + g_signal_connect( canvas, "size_allocate", + G_CALLBACK( allocate_callback ), + ( gpointer ) app ); gtk_widget_show_all( app ); |