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:12:09 -0700 |
commit | 0ae728e2424406f1dab3878a31942d9dd8862c1a (patch) | |
tree | 591ad2a5e90fd19b251993fd283b7e8efa37c555 /modules/input | |
parent | 0da5c8d2e808a13655a2d4d0a640ff04d64b5dd5 (diff) | |
download | gtk+-0ae728e2424406f1dab3878a31942d9dd8862c1a.tar.gz |
Fix missing return from quartz_filter_keypress
Diffstat (limited to 'modules/input')
-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); } |