diff options
Diffstat (limited to 'addressbook/gui/widgets/test-minicard-view.c')
-rw-r--r-- | addressbook/gui/widgets/test-minicard-view.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/addressbook/gui/widgets/test-minicard-view.c b/addressbook/gui/widgets/test-minicard-view.c index caa9dac270..4626d5e205 100644 --- a/addressbook/gui/widgets/test-minicard-view.c +++ b/addressbook/gui/widgets/test-minicard-view.c @@ -171,9 +171,9 @@ int main( int argc, char *argv[] ) "height", (double) 100, "minimum_width", (double) 100, NULL ); - gtk_signal_connect( GTK_OBJECT( canvas ), "reflow", - GTK_SIGNAL_FUNC( resize ), - ( gpointer ) app); + g_signal_connect( canvas, "reflow", + G_CALLBACK ( resize ), + ( gpointer ) app); gnome_canvas_set_scroll_region ( GNOME_CANVAS( canvas ), 0, 0, @@ -188,13 +188,13 @@ int main( int argc, char *argv[] ) gnome_app_set_contents( GNOME_APP( app ), vbox ); /* Connect the signals */ - gtk_signal_connect( GTK_OBJECT( app ), "destroy", - GTK_SIGNAL_FUNC( destroy_callback ), - ( gpointer ) app ); + g_signal_connect( app, "destroy", + G_CALLBACK ( destroy_callback ), + ( gpointer ) app ); - gtk_signal_connect( GTK_OBJECT( canvas ), "size_allocate", - GTK_SIGNAL_FUNC( allocate_callback ), - ( gpointer ) app ); + g_signal_connect( canvas, "size_allocate", + G_CALLBACK ( allocate_callback ), + ( gpointer ) app ); gtk_widget_show_all( app ); gdk_window_set_back_pixmap( GTK_LAYOUT(canvas)->bin_window, NULL, FALSE); |