diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff')
-rw-r--r-- | packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff b/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff index e69de29bb2..03d990c6dd 100644 --- a/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff +++ b/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff @@ -0,0 +1,52 @@ +--- gtk+-2.6.4/gtk/gtkimcontext.c 2004-09-26 07:23:56.000000000 +0300 ++++ gtk+-2.6.4/gtk/gtkimcontext.c 2005-04-06 16:19:36.814941640 +0300 +@@ -360,6 +360,44 @@ + } + + /** ++ * gtk_im_context_show: ++ * @context: a #GtkIMContext ++ * ++ * Notify the input method that widget thinks the actual ++ * input method show be opened. ++ **/ ++void ++gtk_im_context_show (GtkIMContext *context) ++{ ++ GtkIMContextClass *klass; ++ ++ g_return_if_fail (GTK_IS_IM_CONTEXT (context)); ++ ++ klass = GTK_IM_CONTEXT_GET_CLASS (context); ++ if (klass->show) ++ klass->show (context); ++} ++ ++/** ++ * gtk_im_context_hide: ++ * @context: a #GtkIMContext ++ * ++ * Notify the input method that widget thinks the actual ++ * input method show be closed. ++ **/ ++void ++gtk_im_context_hide (GtkIMContext *context) ++{ ++ GtkIMContextClass *klass; ++ ++ g_return_if_fail (GTK_IS_IM_CONTEXT (context)); ++ ++ klass = GTK_IM_CONTEXT_GET_CLASS (context); ++ if (klass->hide) ++ klass->hide (context); ++} ++ ++/** + * gtk_im_context_reset: + * @context: a #GtkIMContext + * +@@ -553,4 +591,3 @@ + + return result; + } +- |