[nautilus] application: return the recent created window in open window
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] application: return the recent created window in open window
- Date: Thu, 3 Mar 2016 15:54:12 +0000 (UTC)
commit c96f628064cce728d153eb0fee9031f96de409cb
Author: Carlos Soriano <csoriano gnome org>
Date: Thu Mar 3 16:36:14 2016 +0100
application: return the recent created window in open window
We will need it in an upcoming patch.
https://bugzilla.gnome.org/show_bug.cgi?id=762076
src/nautilus-application.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 2547a59..b25021f 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -422,7 +422,7 @@ nautilus_application_open_location_full (NautilusApplication *application,
nautilus_window_open_location_full (target_window, location, flags, selection, target_slot);
}
-static void
+static NautilusWindow*
open_window (NautilusApplication *application,
GFile *location)
{
@@ -442,6 +442,8 @@ open_window (NautilusApplication *application,
}
nautilus_profile_end (NULL);
+
+ return window;
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]