]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/gtk+/gtk+-2.6.4-1.osso7/gtkimcontext.c.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / gtk+ / gtk+-2.6.4-1.osso7 / gtkimcontext.c.diff
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 -