Commit e5f4a1f0 authored by Cosimo Cecchi's avatar Cosimo Cecchi

window-manage-views: initialize a variable

parent bdc7f217
......@@ -442,6 +442,7 @@ nautilus_window_slot_open_location_full (NautilusWindowSlot *slot,
target_window = NULL;
target_slot = NULL;
use_same = FALSE;
old_uri = nautilus_window_slot_get_location_uri (slot);
if (old_uri == NULL) {
......@@ -462,6 +463,8 @@ nautilus_window_slot_open_location_full (NautilusWindowSlot *slot,
use_same |= g_settings_get_boolean (nautilus_preferences, NAUTILUS_PREFERENCES_ALWAYS_USE_BROWSER) ||
(is_desktop && !nautilus_desktop_window_loaded (NAUTILUS_DESKTOP_WINDOW (window)));
g_print ("use same %d\n", use_same);
old_location = nautilus_window_slot_get_location (slot);
app = nautilus_application_dup_singleton ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment