X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkimmulticontext.h;h=1979bf673c10c6c0313ed7f4bfd04a0e65d962b8;hb=563eb60666d9f72c38d7542b0ab37841e6aac488;hp=9e444cb00a35b1011310198e845927da9f5c5faa;hpb=680c460ff2bba4cfa9da6773fecca4729de17d3f;p=~andy%2Fgtk diff --git a/gtk/gtkimmulticontext.h b/gtk/gtkimmulticontext.h index 9e444cb00..1979bf673 100644 --- a/gtk/gtkimmulticontext.h +++ b/gtk/gtkimmulticontext.h @@ -12,18 +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 . */ -#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) -#error "Only can be included directly." -#endif - #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 @@ -45,11 +43,8 @@ struct _GtkIMMulticontext { GtkIMContext object; - GtkIMContext *GSEAL (slave); - - GtkIMMulticontextPrivate *GSEAL (priv); - - gchar *GSEAL (context_id); + /*< private >*/ + GtkIMMulticontextPrivate *priv; }; struct _GtkIMMulticontextClass @@ -70,7 +65,9 @@ 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__ */