diff options
author | Ek Kato <ek.kato@gmail.com> | 2013-08-29 14:12:09 -0700 |
---|---|---|
committer | John Ralls <jralls@ceridwen.us> | 2013-08-29 14:13:31 -0700 |
commit | 541aa72f86b910558954ff46c7fbee345da6d172 (patch) | |
tree | f65e1ea81b9ae14dd4e8e26f4f52600b90229e75 | |
parent | eb3d9dc3ddecd05e92d880b20349bb57901e1516 (diff) | |
download | gtk+-541aa72f86b910558954ff46c7fbee345da6d172.tar.gz |
Fix missing return from quartz_filter_keypress
(cherry picked from commit 0ae728e2424406f1dab3878a31942d9dd8862c1a)
-rw-r--r-- | modules/input/imquartz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/input/imquartz.c b/modules/input/imquartz.c index febf41bc69..67c7d6c380 100644 --- a/modules/input/imquartz.c +++ b/modules/input/imquartz.c @@ -168,7 +168,7 @@ output_result (GtkIMContext *context, g_signal_emit_by_name (context, "preedit_changed"); retval = TRUE; } - if (!fixed_str && !marked_str) + if (!fixed_str && !marked_str) { if (qc->preedit_str && strlen (qc->preedit_str) > 0) retval = TRUE; @@ -209,7 +209,7 @@ quartz_filter_keypress (GtkIMContext *context, { if (event->hardware_keycode == 0 && event->keyval == 0xffffff) /* update text input changes by mouse events */ - output_result(context, win); + return output_result (context, win); else return gtk_im_context_filter_keypress (qc->slave, event); } |