summaryrefslogtreecommitdiffstats
path: root/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff')
-rw-r--r--meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff52
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff b/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff
new file mode 100644
index 0000000000..03d990c6dd
--- /dev/null
+++ b/meta/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff
@@ -0,0 +1,52 @@
1--- gtk+-2.6.4/gtk/gtkimcontext.c 2004-09-26 07:23:56.000000000 +0300
2+++ gtk+-2.6.4/gtk/gtkimcontext.c 2005-04-06 16:19:36.814941640 +0300
3@@ -360,6 +360,44 @@
4 }
5
6 /**
7+ * gtk_im_context_show:
8+ * @context: a #GtkIMContext
9+ *
10+ * Notify the input method that widget thinks the actual
11+ * input method show be opened.
12+ **/
13+void
14+gtk_im_context_show (GtkIMContext *context)
15+{
16+ GtkIMContextClass *klass;
17+
18+ g_return_if_fail (GTK_IS_IM_CONTEXT (context));
19+
20+ klass = GTK_IM_CONTEXT_GET_CLASS (context);
21+ if (klass->show)
22+ klass->show (context);
23+}
24+
25+/**
26+ * gtk_im_context_hide:
27+ * @context: a #GtkIMContext
28+ *
29+ * Notify the input method that widget thinks the actual
30+ * input method show be closed.
31+ **/
32+void
33+gtk_im_context_hide (GtkIMContext *context)
34+{
35+ GtkIMContextClass *klass;
36+
37+ g_return_if_fail (GTK_IS_IM_CONTEXT (context));
38+
39+ klass = GTK_IM_CONTEXT_GET_CLASS (context);
40+ if (klass->hide)
41+ klass->hide (context);
42+}
43+
44+/**
45 * gtk_im_context_reset:
46 * @context: a #GtkIMContext
47 *
48@@ -553,4 +591,3 @@
49
50 return result;
51 }
52-