X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkimmulticontext.h;h=1979bf673c10c6c0313ed7f4bfd04a0e65d962b8;hb=32825a66ac8e65bf98cafed26a339fa1f31eddd4;hp=d80b81d650be9bb71e12aa956469fbf30e8be965;hpb=cca8dd63475ab582d8592039f1f69d7f22a3b928;p=~andy%2Fgtk diff --git a/gtk/gtkimmulticontext.h b/gtk/gtkimmulticontext.h index d80b81d65..1979bf673 100644 --- a/gtk/gtkimmulticontext.h +++ b/gtk/gtkimmulticontext.h @@ -12,14 +12,16 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ #ifndef __GTK_IM_MULTICONTEXT_H__ #define __GTK_IM_MULTICONTEXT_H__ +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#error "Only can be included directly." +#endif + #include #include @@ -41,11 +43,8 @@ struct _GtkIMMulticontext { GtkIMContext object; - GtkIMContext *slave; - + /*< private >*/ GtkIMMulticontextPrivate *priv; - - const gchar *context_id; }; struct _GtkIMMulticontextClass @@ -64,7 +63,11 @@ GtkIMContext *gtk_im_multicontext_new (void); void gtk_im_multicontext_append_menuitems (GtkIMMulticontext *context, GtkMenuShell *menushell); +const char * gtk_im_multicontext_get_context_id (GtkIMMulticontext *context); +void gtk_im_multicontext_set_context_id (GtkIMMulticontext *context, + const char *context_id); + G_END_DECLS #endif /* __GTK_IM_MULTICONTEXT_H__ */