diff options
Diffstat (limited to 'src/nautilus-navigation-window.c')
-rw-r--r-- | src/nautilus-navigation-window.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nautilus-navigation-window.c b/src/nautilus-navigation-window.c index 766af2ce5..8e4fa28f6 100644 --- a/src/nautilus-navigation-window.c +++ b/src/nautilus-navigation-window.c @@ -632,10 +632,10 @@ nautilus_window_constructed (NautilusWindow *window) window->navigation_bar = nautilus_switchable_navigation_bar_new (window); gtk_widget_show (GTK_WIDGET (window->navigation_bar)); - g_signal_connect (G_OBJECT (window->navigation_bar), "location_changed", + g_signal_connect (window->navigation_bar, "location_changed", G_CALLBACK (navigation_bar_location_changed_callback), window); - g_signal_connect (G_OBJECT (window->navigation_bar), "mode_changed", + g_signal_connect (window->navigation_bar, "mode_changed", G_CALLBACK (navigation_bar_mode_changed_callback), window); gtk_box_pack_start (GTK_BOX (location_bar_box), window->navigation_bar, @@ -699,7 +699,7 @@ nautilus_window_constructed (NautilusWindow *window) /* set up the sidebar */ window->sidebar = nautilus_sidebar_new (); gtk_widget_show (GTK_WIDGET (window->sidebar)); - g_signal_connect (G_OBJECT (window->sidebar), "location_changed", + g_signal_connect (window->sidebar, "location_changed", G_CALLBACK (go_to_callback), window); gtk_paned_pack1 (GTK_PANED (window->content_hbox), GTK_WIDGET (window->sidebar), @@ -1142,7 +1142,7 @@ create_view_as_menu_item (NautilusWindow *window, menu_item = gtk_menu_item_new_with_label (menu_label); g_free (menu_label); - g_signal_connect (G_OBJECT (menu_item), + g_signal_connect (menu_item, "activate", G_CALLBACK (view_as_menu_switch_views_callback), window); @@ -1479,7 +1479,7 @@ load_view_as_menus_callback (NautilusFile *file, /* Add "View as..." extra bonus choice. */ menu_item = gtk_menu_item_new_with_label (_("View as...")); - g_signal_connect (G_OBJECT (menu_item), + g_signal_connect (menu_item, "activate", G_CALLBACK (view_as_menu_choose_view_callback), window); |