summaryrefslogtreecommitdiff
path: root/src/nautilus-location-entry.c
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2021-12-18 20:58:57 +0000
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2021-12-28 22:24:39 +0000
commit96503372ff4fd148405afa858c7d87329987d495 (patch)
treea10563f8cb242d689995e1836094fda66a38f7e9 /src/nautilus-location-entry.c
parent4ca63d19eb3e522eea54a92c0f479911e2a17f4a (diff)
downloadnautilus-96503372ff4fd148405afa858c7d87329987d495.tar.gz
enums: Make OpenFlags more generic
GtkPlacesOpenFlags as public API are gone in GTK 4. In preparation, rename our NautilusWindowOpenFlags enumeration type and make it value-compatible with GtkPlacesOpenFlags.
Diffstat (limited to 'src/nautilus-location-entry.c')
-rw-r--r--src/nautilus-location-entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-location-entry.c b/src/nautilus-location-entry.c
index 2e06e6012..de2a9daec 100644
--- a/src/nautilus-location-entry.c
+++ b/src/nautilus-location-entry.c
@@ -309,7 +309,7 @@ drag_data_received_callback (GtkWidget *widget,
{
location = g_file_new_for_uri (names[i]);
nautilus_application_open_location_full (NAUTILUS_APPLICATION (g_application_get_default ()),
- location, NAUTILUS_WINDOW_OPEN_FLAG_NEW_WINDOW, NULL, NULL, NULL);
+ location, NAUTILUS_OPEN_FLAG_NEW_WINDOW, NULL, NULL, NULL);
g_object_unref (location);
}
}