[gimp/blend-tool-fun: 11/163] app: Always return a value from results_list_on_key_press_event
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/blend-tool-fun: 11/163] app: Always return a value from results_list_on_key_press_event
- Date: Mon, 26 Oct 2015 02:19:07 +0000 (UTC)
commit 97396e7e1383bc9b106492759ef985067b530344
Author: Michael Henning <drawoc darkrefraction com>
Date: Sun Sep 6 19:43:25 2015 -0400
app: Always return a value from results_list_on_key_press_event
app/widgets/gimpsearchpopup.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/app/widgets/gimpsearchpopup.c b/app/widgets/gimpsearchpopup.c
index cfa1f4f..bc5c0b8 100644
--- a/app/widgets/gimpsearchpopup.c
+++ b/app/widgets/gimpsearchpopup.c
@@ -576,10 +576,11 @@ results_list_on_key_press_event (GtkWidget *widget,
GimpSearchPopup *popup)
{
/* These keys are already managed by key bindings. */
- g_return_if_fail (kevent->keyval != GDK_KEY_Escape &&
- kevent->keyval != GDK_KEY_Return &&
- kevent->keyval != GDK_KEY_KP_Enter &&
- kevent->keyval != GDK_KEY_ISO_Enter);
+ g_return_val_if_fail (kevent->keyval != GDK_KEY_Escape &&
+ kevent->keyval != GDK_KEY_Return &&
+ kevent->keyval != GDK_KEY_KP_Enter &&
+ kevent->keyval != GDK_KEY_ISO_Enter,
+ FALSE);
switch (kevent->keyval)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]