diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c index 712d5ca873..4fc9cf15c1 100644 --- a/gtk/gtkimmulticontext.c +++ b/gtk/gtkimmulticontext.c @@ -592,6 +592,11 @@ pathnamecmp (const char *a, * Add menuitems for various available input methods to a menu; * the menuitems, when selected, will switch the input method * for the context and the global default input method. + * + * Deprecated: 3.10: It is better to use the system-wide input + * method framework for changing input methods. Modern + * desktop shells offer on-screen displays for this that + * can triggered with a keyboard shortcut, e.g. Super-Space. **/ void gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context, diff --git a/gtk/gtkimmulticontext.h b/gtk/gtkimmulticontext.h index 6ab022e1e0..77bc70c0d1 100644 --- a/gtk/gtkimmulticontext.h +++ b/gtk/gtkimmulticontext.h @@ -63,7 +63,7 @@ GType gtk_im_multicontext_get_type (void) G_GNUC_CONST; GDK_AVAILABLE_IN_ALL GtkIMContext *gtk_im_multicontext_new (void); -GDK_AVAILABLE_IN_ALL +GDK_DEPRECATED_IN_3_10 void gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context, GtkMenuShell *menushell); GDK_AVAILABLE_IN_ALL