Fix wrong return from key snooper. 1.4.99.20121006
authorPeng Huang <shawn.p.huang@gmail.com>
Fri, 5 Oct 2012 16:21:05 +0000 (12:21 -0400)
committerPeng Huang <shawn.p.huang@gmail.com>
Fri, 5 Oct 2012 16:21:05 +0000 (12:21 -0400)
BUG=None

Review URL: https://codereview.appspot.com/6623048

client/gtk2/ibusimcontext.c

index 17da2637130fc82b89512037be44f59a04cd7b93..011676fc23160ecb2e309ef581c8e775e354f030 100644 (file)
@@ -298,7 +298,7 @@ _key_snooper_cb (GtkWidget   *widget,
     IBusInputContext *ibuscontext = NULL;
 
     if (!_use_key_snooper)
-        return;
+        return FALSE;
 
     if (_focus_im_context != NULL &&
         ((IBusIMContext *) _focus_im_context)->has_focus == TRUE) {