From a47e5483b6dc1cd75c5c313db6f72af00aefe4b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Wed, 1 Sep 2010 19:29:02 +0200 Subject: [PATCH] gtkimcontextsimple: move documentation to inline comments --- docs/reference/gtk/tmpl/.gitignore | 1 + .../gtk/tmpl/gtkimcontextsimple.sgml | 55 ------------------- gtk/gtkimcontextsimple.c | 7 +++ gtk/gtkimcontextsimple.h | 8 ++- 4 files changed, 14 insertions(+), 57 deletions(-) delete mode 100644 docs/reference/gtk/tmpl/gtkimcontextsimple.sgml diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore index 364667228..d19042e8d 100644 --- a/docs/reference/gtk/tmpl/.gitignore +++ b/docs/reference/gtk/tmpl/.gitignore @@ -7,6 +7,7 @@ gtkcalendar.sgml gtkcelleditable.sgml gtkhbox.sgml gtkiconview.sgml +gtkimcontextsimple.sgml gtkimmulticontext.sgml gtkmessagedialog.sgml gtkobject.sgml diff --git a/docs/reference/gtk/tmpl/gtkimcontextsimple.sgml b/docs/reference/gtk/tmpl/gtkimcontextsimple.sgml deleted file mode 100644 index 59d9315c9..000000000 --- a/docs/reference/gtk/tmpl/gtkimcontextsimple.sgml +++ /dev/null @@ -1,55 +0,0 @@ - -GtkIMContextSimple - - -An input method context supporting table-based input methods - - - - - - - - - - - - - - - - - - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@context_simple: -@data: -@max_seq_len: -@n_seqs: - - - - -The maximum length of sequences in compose tables. - - - - diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 9b73f8445..27e8980b8 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -30,6 +30,13 @@ #include "gtkintl.h" +/** + * SECTION:gtkimcontextsimple + * @Short_description: An input method context supporting table-based input methods + * @Title: GtkIMContextSimple + */ + + typedef struct _GtkComposeTable GtkComposeTable; typedef struct _GtkComposeTableCompact GtkComposeTableCompact; diff --git a/gtk/gtkimcontextsimple.h b/gtk/gtkimcontextsimple.h index a215110c5..828983c8d 100644 --- a/gtk/gtkimcontextsimple.h +++ b/gtk/gtkimcontextsimple.h @@ -29,6 +29,12 @@ G_BEGIN_DECLS +/** + * GTK_MAX_COMPOSE_LEN: + * + * The maximum length of sequences in compose tables. + */ +#define GTK_MAX_COMPOSE_LEN 7 #define GTK_TYPE_IM_CONTEXT_SIMPLE (gtk_im_context_simple_get_type ()) #define GTK_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimple)) @@ -42,8 +48,6 @@ typedef struct _GtkIMContextSimple GtkIMContextSimple; typedef struct _GtkIMContextSimplePrivate GtkIMContextSimplePrivate; typedef struct _GtkIMContextSimpleClass GtkIMContextSimpleClass; -#define GTK_MAX_COMPOSE_LEN 7 - struct _GtkIMContextSimple { GtkIMContext object; -- 2.43.2