[gtk+] docs: enum cleanup



commit edd6c4d487fd7383bb5372b408e6e53455a759e0
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 20 09:47:44 2014 -0400

    docs: enum cleanup
    
    Move GtkExpanderStyle over to the deprecated GtkStyle.

 docs/reference/gtk/gtk3-sections.txt |    2 +-
 gtk/deprecated/gtkstyle.h            |   17 +++++++++++++++++
 gtk/gtkenums.h                       |   17 -----------------
 3 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index f8dae6d..558e6d4 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -6240,6 +6240,7 @@ gtk_gradient_get_type
 GTK_STYLE_ATTACHED
 GtkStyle
 GtkStyleClass
+GtkExpanderStyle
 gtk_style_new
 gtk_style_copy
 gtk_style_attach
@@ -6524,7 +6525,6 @@ gtk_binding_set_add_path
 GtkBaselinePosition
 GtkDeleteType
 GtkDirectionType
-GtkExpanderStyle
 GtkIMPreeditStyle
 GtkIMStatusStyle
 GtkJustification
diff --git a/gtk/deprecated/gtkstyle.h b/gtk/deprecated/gtkstyle.h
index 01b8f28..dbe83df 100644
--- a/gtk/deprecated/gtkstyle.h
+++ b/gtk/deprecated/gtkstyle.h
@@ -52,6 +52,23 @@ typedef struct _GtkThemeEngine GtkThemeEngine;
 typedef struct _GtkRcProperty  GtkRcProperty;
 
 /**
+ * GtkExpanderStyle:
+ * @GTK_EXPANDER_COLLAPSED: The style used for a collapsed subtree.
+ * @GTK_EXPANDER_SEMI_COLLAPSED: Intermediate style used during animation.
+ * @GTK_EXPANDER_SEMI_EXPANDED: Intermediate style used during animation.
+ * @GTK_EXPANDER_EXPANDED: The style used for an expanded subtree.
+ *
+ * Used to specify the style of the expanders drawn by a #GtkTreeView.
+ */
+typedef enum
+{
+  GTK_EXPANDER_COLLAPSED,
+  GTK_EXPANDER_SEMI_COLLAPSED,
+  GTK_EXPANDER_SEMI_EXPANDED,
+  GTK_EXPANDER_EXPANDED
+} GtkExpanderStyle;
+
+/**
  * GTK_STYLE_ATTACHED:
  * @style: a #GtkStyle.
  *
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 03aa5f7..2787f2c 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -174,23 +174,6 @@ typedef enum
 } GtkDirectionType;
 
 /**
- * GtkExpanderStyle:
- * @GTK_EXPANDER_COLLAPSED: The style used for a collapsed subtree.
- * @GTK_EXPANDER_SEMI_COLLAPSED: Intermediate style used during animation.
- * @GTK_EXPANDER_SEMI_EXPANDED: Intermediate style used during animation.
- * @GTK_EXPANDER_EXPANDED: The style used for an expanded subtree.
- *
- * Used to specify the style of the expanders drawn by a #GtkTreeView.
- */
-typedef enum
-{
-  GTK_EXPANDER_COLLAPSED,
-  GTK_EXPANDER_SEMI_COLLAPSED,
-  GTK_EXPANDER_SEMI_EXPANDED,
-  GTK_EXPANDER_EXPANDED
-} GtkExpanderStyle;
-
-/**
  * GtkIconSize:
  * @GTK_ICON_SIZE_INVALID: Invalid size.
  * @GTK_ICON_SIZE_MENU: Size appropriate for menus (16px).


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