-/* GTK - The GTK+ Toolkit
+/* GTK - The GIMP Toolkit
* Copyright (C) 2000 Red Hat Software
*
* This library is free software; you can redistribute it and/or
* 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 <http://www.gnu.org/licenses/>.
*/
-#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only <gtk/gtk.h> 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 <gtk/gtk.h> can be included directly."
+#endif
+
#include <gtk/gtkimcontext.h>
#include <gtk/gtkmenushell.h>
{
GtkIMContext object;
- GtkIMContext *GSEAL (slave);
-
- GtkIMMulticontextPrivate *GSEAL (priv);
-
- gchar *GSEAL (context_id);
+ /*< private >*/
+ GtkIMMulticontextPrivate *priv;
};
struct _GtkIMMulticontextClass
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__ */