[nautilus/wip/ernestask/gtk4-continued: 23/50] toolbar: Fix GtkEntry::populate-popup handler
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/ernestask/gtk4-continued: 23/50] toolbar: Fix GtkEntry::populate-popup handler
- Date: Sun, 10 Feb 2019 20:11:00 +0000 (UTC)
commit 5e6c99cd01d7cb0bae41f70526d8ba8a91394f9c
Author: Ernestas Kulik <ernestask gnome org>
Date: Mon Aug 6 16:46:09 2018 +0300
toolbar: Fix GtkEntry::populate-popup handler
It shouldn’t return a value.
src/nautilus-toolbar.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index d1b23a42b..3d317f708 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -871,7 +871,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)
@@ -881,8 +881,6 @@ on_location_entry_populate_popup (GtkEntry *entry,
toolbar = user_data;
toolbar->location_entry_should_auto_hide = FALSE;
-
- return GDK_EVENT_PROPAGATE;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]