[gtk+] docs: enum cleanup



commit edde7aca606bc540c803426b511a281004fa7a8d
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 20 06:17:16 2014 -0400

    docs: enum cleanup
    
    Move GtkArrowPlacement to the GtkMenu docs. This type is
    only used for a style property there.

 docs/reference/gtk/gtk3-sections.txt |    2 +-
 gtk/gtkenums.h                       |   16 ----------------
 gtk/gtkmenu.h                        |   15 +++++++++++++++
 3 files changed, 16 insertions(+), 17 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index df3c8a8..03c4223 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -2183,6 +2183,7 @@ gtk_link_button_get_type
 <FILE>gtkmenu</FILE>
 <TITLE>GtkMenu</TITLE>
 GtkMenu
+GtkArrowPlacement
 gtk_menu_new
 gtk_menu_new_from_model
 gtk_menu_set_screen
@@ -6505,7 +6506,6 @@ gtk_binding_set_add_path
 <SECTION>
 <FILE>gtkenums</FILE>
 <TITLE>Standard Enumerations</TITLE>
-GtkArrowPlacement
 GtkArrowType
 GtkAttachOptions
 GtkBaselinePosition
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 48414b8..4a15f23 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -79,22 +79,6 @@ typedef enum
   GTK_ALIGN_BASELINE
 } GtkAlign;
 
-
-/**
- * GtkArrowPlacement:
- * @GTK_ARROWS_BOTH: Place one arrow on each end of the menu.
- * @GTK_ARROWS_START: Place both arrows at the top of the menu.
- * @GTK_ARROWS_END: Place both arrows at the bottom of the menu.
- *
- * Used to specify the placement of scroll arrows in scrolling menus.
- */
-typedef enum
-{
-  GTK_ARROWS_BOTH,
-  GTK_ARROWS_START,
-  GTK_ARROWS_END
-} GtkArrowPlacement;
-
 /**
  * GtkArrowType:
  * @GTK_ARROW_UP: Represents an upward pointing arrow.
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h
index 25dd8bd..d854ed2 100644
--- a/gtk/gtkmenu.h
+++ b/gtk/gtkmenu.h
@@ -49,6 +49,21 @@ typedef struct _GtkMenuClass   GtkMenuClass;
 typedef struct _GtkMenuPrivate GtkMenuPrivate;
 
 /**
+ * GtkArrowPlacement:
+ * @GTK_ARROWS_BOTH: Place one arrow on each end of the menu.
+ * @GTK_ARROWS_START: Place both arrows at the top of the menu.
+ * @GTK_ARROWS_END: Place both arrows at the bottom of the menu.
+ *
+ * Used to specify the placement of scroll arrows in scrolling menus.
+ */
+typedef enum
+{
+  GTK_ARROWS_BOTH,
+  GTK_ARROWS_START,
+  GTK_ARROWS_END
+} GtkArrowPlacement;
+
+/**
  * GtkMenuPositionFunc:
  * @menu: a #GtkMenu.
  * @x: (out): address of the #gint representing the horizontal


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