Commit 2d770e94 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Fix incorrect return value, filter out returns of 0x7f for the delete key.

Tue Mar 12 10:50:09 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
        Fix incorrect return value, filter out returns of 0x7f for
        the delete key. (#74179, Kang Jeong-He)
parent 7c59491c
Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
Fix incorrect return value, filter out returns of 0x7f for
the delete key. (#74179, Kang Jeong-He)
Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com> Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
   
* gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
......
Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
Fix incorrect return value, filter out returns of 0x7f for
the delete key. (#74179, Kang Jeong-He)
Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com> Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
   
* gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
......
Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
Fix incorrect return value, filter out returns of 0x7f for
the delete key. (#74179, Kang Jeong-He)
Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com> Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
   
* gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
......
Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
Fix incorrect return value, filter out returns of 0x7f for
the delete key. (#74179, Kang Jeong-He)
Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com> Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
   
* gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
......
Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
Fix incorrect return value, filter out returns of 0x7f for
the delete key. (#74179, Kang Jeong-He)
Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com> Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
   
* gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
......
Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
Fix incorrect return value, filter out returns of 0x7f for
the delete key. (#74179, Kang Jeong-He)
Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com> Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
   
* gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
......
Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
Fix incorrect return value, filter out returns of 0x7f for
the delete key. (#74179, Kang Jeong-He)
Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com> Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
   
* gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
......
...@@ -126,7 +126,7 @@ Overview of Changes in GTK+ 1.3.13 ...@@ -126,7 +126,7 @@ Overview of Changes in GTK+ 1.3.13
[Mark Patton] [Mark Patton]
* gtk_widget_set_accel_path() is now publically exported. * gtk_widget_set_accel_path() is now publically exported.
Other contributors: Darin Adler, Jeffry Baker, Damon Chaplin, Brian Cameron, Other contributors: Darin Adler, Jeffrey Baker, Damon Chaplin, Brian Cameron,
Murray Cumming, James Henstridge, Jacob Berkman, Arnaud Charlet, Jeff Franks, Murray Cumming, James Henstridge, Jacob Berkman, Arnaud Charlet, Jeff Franks,
Jeff Garzik, Jody Goldberg, Diego Gonzalez, Melvin Hadasht, Raja Harinath, Jeff Garzik, Jody Goldberg, Diego Gonzalez, Melvin Hadasht, Raja Harinath,
Tim Janik, Mike Kestner, Mathieu Lacage, Alex Larsson, Ryan Lovett, Tim Janik, Mike Kestner, Mathieu Lacage, Alex Larsson, Ryan Lovett,
......
General Information General InformationaaaaaX
=================== ===================
This is GTK+ version @GTK_VERSION@. GTK+ is a multi-platform toolkit for This is GTK+ version @GTK_VERSION@. GTK+ is a multi-platform toolkit for
......
...@@ -379,9 +379,10 @@ gtk_im_context_xim_filter_keypress (GtkIMContext *context, ...@@ -379,9 +379,10 @@ gtk_im_context_xim_filter_keypress (GtkIMContext *context,
result_utf8 = mb_to_utf8 (context_xim, buffer); result_utf8 = mb_to_utf8 (context_xim, buffer);
if (result_utf8) if (result_utf8)
{ {
if ((guchar)result_utf8[0] >= 0x20) /* Some IM have a nasty habit of converting if ((guchar)result_utf8[0] >= 0x20 &&
* control characters into strings result_utf8[0] != 0x7f) /* Some IM have a nasty habit of converting
*/ * control characters into strings
*/
{ {
g_signal_emit_by_name (context, "commit", result_utf8); g_signal_emit_by_name (context, "commit", result_utf8);
result = TRUE; result = TRUE;
...@@ -391,7 +392,7 @@ gtk_im_context_xim_filter_keypress (GtkIMContext *context, ...@@ -391,7 +392,7 @@ gtk_im_context_xim_filter_keypress (GtkIMContext *context,
} }
} }
return FALSE; return result;
} }
static void static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment