[gtk+] gtkimcontextsimple: move documentation to inline comments



commit a47e5483b6dc1cd75c5c313db6f72af00aefe4b3
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Sep 1 19:29:02 2010 +0200

    gtkimcontextsimple: move documentation to inline comments

 docs/reference/gtk/tmpl/.gitignore              |    1 +
 docs/reference/gtk/tmpl/gtkimcontextsimple.sgml |   55 -----------------------
 gtk/gtkimcontextsimple.c                        |    7 +++
 gtk/gtkimcontextsimple.h                        |    8 +++-
 4 files changed, 14 insertions(+), 57 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 3646672..d19042e 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/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index 9b73f84..27e8980 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 a215110..828983c 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]