summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-08-06 16:46:09 +0300
committerErnestas Kulik <ekulik@redhat.com>2019-06-29 14:33:41 +0200
commit383df27c7617914db80ac46ea6b9c2b24287d2ea (patch)
tree2d27395e093760009c9f8f11cd936e3ee0a0a6bc
parent43c5cb6fee299059d765281357494b411b59bac4 (diff)
downloadnautilus-383df27c7617914db80ac46ea6b9c2b24287d2ea.tar.gz
toolbar: Fix GtkEntry::populate-popup handler
It shouldn’t return a value.
-rw-r--r--src/nautilus-toolbar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index a7511d018..d2e4285a8 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -874,7 +874,7 @@ on_location_entry_close (GtkWidget *close_button,
nautilus_toolbar_set_show_location_entry (self, FALSE);
}
-static gboolean
+static void
on_location_entry_populate_popup (GtkEntry *entry,
GtkWidget *widget,
gpointer user_data)
@@ -884,8 +884,6 @@ on_location_entry_populate_popup (GtkEntry *entry,
toolbar = user_data;
toolbar->location_entry_should_auto_hide = FALSE;
-
- return GDK_EVENT_PROPAGATE;
}
static void