diff options
author | Jasmine Hassan <[email protected]> | 2012-10-27 05:41:59 +0200 |
---|---|---|
committer | Jasmine Hassan <[email protected]> | 2012-11-16 09:45:51 +0200 |
commit | 71c4af286ce5fab422537202081103aded078692 (patch) | |
tree | 61fdcec63f863c04aad2357bc8ec70979b2fcc39 /src/caja-window-menus.c | |
parent | 1638bc87bac1eb0bcf842872767d4cc953153a4e (diff) | |
download | caja-71c4af286ce5fab422537202081103aded078692.tar.bz2 caja-71c4af286ce5fab422537202081103aded078692.tar.xz |
[window-menus] use new connect dialog API
http://git.gnome.org/browse/nautilus/commit/?id=156615f8d9f8b99dea3459cdd76392d01b9d80df
Diffstat (limited to 'src/caja-window-menus.c')
-rw-r--r-- | src/caja-window-menus.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/caja-window-menus.c b/src/caja-window-menus.c index 7608ad3b..01408c07 100644 --- a/src/caja-window-menus.c +++ b/src/caja-window-menus.c @@ -243,17 +243,9 @@ action_connect_to_server_callback (GtkAction *action, gpointer user_data) { CajaWindow *window = CAJA_WINDOW (user_data); - CajaWindowSlot *slot; GtkWidget *dialog; - GFile *location; - slot = caja_window_get_active_slot (window); - location = caja_window_slot_get_location (slot); - dialog = caja_connect_server_dialog_new (window, location); - if (location) - { - g_object_unref (location); - } + dialog = caja_connect_server_dialog_new (window); gtk_widget_show (dialog); } |