[gtk+] docs: enum cleanup



commit 2430762f9bf7274a1ee6708296b18bfa11e5afdf
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 20 06:30:41 2014 -0400

    docs: enum cleanup
    
    Move GtkButtonBoxStyle to the one place it is used, GtkButtonBox.

 docs/reference/gtk/gtk3-sections.txt |    2 +-
 gtk/gtkbbox.h                        |   25 +++++++++++++++++++++++++
 gtk/gtkenums.h                       |   25 -------------------------
 3 files changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index 0847d49..78d0660 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -445,6 +445,7 @@ gtk_button_box_new
 gtk_button_box_get_layout
 gtk_button_box_get_child_secondary
 gtk_button_box_get_child_non_homogeneous
+GtkButtonBoxStyle
 gtk_button_box_set_layout
 gtk_button_box_set_child_secondary
 gtk_button_box_set_child_non_homogeneous
@@ -6509,7 +6510,6 @@ gtk_binding_set_add_path
 <FILE>gtkenums</FILE>
 <TITLE>Standard Enumerations</TITLE>
 GtkBaselinePosition
-GtkButtonBoxStyle
 GtkCornerType
 GtkDeleteType
 GtkDirectionType
diff --git a/gtk/gtkbbox.h b/gtk/gtkbbox.h
index 98d55c3..46f1e59 100644
--- a/gtk/gtkbbox.h
+++ b/gtk/gtkbbox.h
@@ -72,6 +72,31 @@ struct _GtkButtonBoxClass
 };
 
 
+/**
+ * GtkButtonBoxStyle:
+ * @GTK_BUTTONBOX_SPREAD: Buttons are evenly spread across the box.
+ * @GTK_BUTTONBOX_EDGE: Buttons are placed at the edges of the box.
+ * @GTK_BUTTONBOX_START: Buttons are grouped towards the start of the box,
+ *   (on the left for a HBox, or the top for a VBox).
+ * @GTK_BUTTONBOX_END: Buttons are grouped towards the end of the box,
+ *   (on the right for a HBox, or the bottom for a VBox).
+ * @GTK_BUTTONBOX_CENTER: Buttons are centered in the box. Since 2.12.
+ * @GTK_BUTTONBOX_EXPAND: Buttons expand to fill the box. Since 3.12.
+ *
+ * Used to dictate the style that a #GtkButtonBox uses to layout the buttons it
+ * contains.
+ */
+typedef enum
+{
+  GTK_BUTTONBOX_SPREAD = 1,
+  GTK_BUTTONBOX_EDGE,
+  GTK_BUTTONBOX_START,
+  GTK_BUTTONBOX_END,
+  GTK_BUTTONBOX_CENTER,
+  GTK_BUTTONBOX_EXPAND
+} GtkButtonBoxStyle;
+
+
 GDK_AVAILABLE_IN_ALL
 GType             gtk_button_box_get_type            (void) G_GNUC_CONST;
 GDK_AVAILABLE_IN_ALL
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 3cf33be..daaa604 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -121,31 +121,6 @@ typedef enum
 } GtkBaselinePosition;
 
 /**
- * GtkButtonBoxStyle:
- * @GTK_BUTTONBOX_SPREAD: Buttons are evenly spread across the box.
- * @GTK_BUTTONBOX_EDGE: Buttons are placed at the edges of the box.
- * @GTK_BUTTONBOX_START: Buttons are grouped towards the start of the box,
- *   (on the left for a HBox, or the top for a VBox).
- * @GTK_BUTTONBOX_END: Buttons are grouped towards the end of the box,
- *   (on the right for a HBox, or the bottom for a VBox).
- * @GTK_BUTTONBOX_CENTER: Buttons are centered in the box. Since 2.12.
- * @GTK_BUTTONBOX_EXPAND: Buttons expand to fill the box. Since 3.12.
- *
- * Used to dictate the style that a #GtkButtonBox uses to layout the buttons it
- * contains. (See also: #GtkVButtonBox and #GtkHButtonBox).
- */
-typedef enum
-{
-  GTK_BUTTONBOX_SPREAD = 1,
-  GTK_BUTTONBOX_EDGE,
-  GTK_BUTTONBOX_START,
-  GTK_BUTTONBOX_END,
-  GTK_BUTTONBOX_CENTER,
-  GTK_BUTTONBOX_EXPAND
-} GtkButtonBoxStyle;
-
-
-/**
  * GtkDeleteType:
  * @GTK_DELETE_CHARS: Delete characters.
  * @GTK_DELETE_WORD_ENDS: Delete only the portion of the word to the


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