diff options
Diffstat (limited to 'test/test-nautilus-smooth-graphics.c')
-rw-r--r-- | test/test-nautilus-smooth-graphics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-nautilus-smooth-graphics.c b/test/test-nautilus-smooth-graphics.c index 30b68c701..3795cd711 100644 --- a/test/test-nautilus-smooth-graphics.c +++ b/test/test-nautilus-smooth-graphics.c @@ -40,7 +40,7 @@ main (int argc, char * argv[]) nautilus_global_preferences_init (); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); - g_signal_connect (G_OBJECT (window), "delete_event", G_CALLBACK (delete_event), NULL); + g_signal_connect (window, "delete_event", G_CALLBACK (delete_event), NULL); button = gtk_toggle_button_new_with_label ("Smooth Graphics"); @@ -49,7 +49,7 @@ main (int argc, char * argv[]) gtk_container_add (GTK_CONTAINER (window), button); - g_signal_connect (G_OBJECT (button), + g_signal_connect (button, "toggled", G_CALLBACK (button_toggled), NULL); |