summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2022-01-09 03:09:59 +0000
committerAntónio Fernandes <antoniof@gnome.org>2022-01-09 03:13:11 +0000
commitecf2008b74bfe9324fe88be2767dfa43972d51db (patch)
tree4d317417e793c30ea365dadf84f2e54e391481b9
parentfd47742babfae904231efc7cb0d99afce5d37418 (diff)
downloadnautilus-ecf2008b74bfe9324fe88be2767dfa43972d51db.tar.gz
location-entry: Don't crash on activation
We have been chaining up to parent class implementation of ::activate signal default handler. But there is no default implementation in GTK4, so pressing Enter/Return when location entry is focused causes a crash Remove chain-up statement to fix crash. Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2085
-rw-r--r--src/nautilus-location-entry.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nautilus-location-entry.c b/src/nautilus-location-entry.c
index bc37cc201..6a5dc37fc 100644
--- a/src/nautilus-location-entry.c
+++ b/src/nautilus-location-entry.c
@@ -798,8 +798,6 @@ nautilus_location_entry_activate (GtkEntry *entry)
g_free (uri_scheme);
}
-
- GTK_ENTRY_CLASS (nautilus_location_entry_parent_class)->activate (entry);
}
static void