[gtk+] docs: enum cleanup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: enum cleanup
- Date: Tue, 20 May 2014 13:54:57 +0000 (UTC)
commit e5a1734ce99a51b7317fde7a3b56bb92b2fa997f
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 20 08:36:12 2014 -0400
docs: enum cleanup
scrolledwindow part 2
docs/reference/gtk/gtk3-sections.txt | 2 +-
gtk/gtkenums.h | 39 --------------------------------
gtk/gtkscrolledwindow.h | 41 ++++++++++++++++++++++++++++++++++
gtk/gtksettings.c | 1 +
4 files changed, 43 insertions(+), 40 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index e99d8cc..b7f71d1 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -3119,6 +3119,7 @@ gtk_scrolled_window_get_hadjustment
gtk_scrolled_window_get_vadjustment
gtk_scrolled_window_get_hscrollbar
gtk_scrolled_window_get_vscrollbar
+GtkPolicyType
gtk_scrolled_window_set_policy
gtk_scrolled_window_add_with_viewport
GtkCornerType
@@ -6522,7 +6523,6 @@ GtkOrientation
GtkPackType
GtkPathPriorityType
GtkPathType
-GtkPolicyType
GtkPositionType
GtkReliefStyle
GtkResizeMode
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index daaa604..be3bd75 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -361,29 +361,6 @@ typedef enum
} GtkOrientation;
/**
- * GtkCornerType:
- * @GTK_CORNER_TOP_LEFT: Place the scrollbars on the right and bottom of the
- * widget (default behaviour).
- * @GTK_CORNER_BOTTOM_LEFT: Place the scrollbars on the top and right of the
- * widget.
- * @GTK_CORNER_TOP_RIGHT: Place the scrollbars on the left and bottom of the
- * widget.
- * @GTK_CORNER_BOTTOM_RIGHT: Place the scrollbars on the top and left of the
- * widget.
- *
- * Specifies which corner a child widget should be placed in when packed into
- * a #GtkScrolledWindow. This is effectively the opposite of where the scroll
- * bars are placed.
- */
-typedef enum
-{
- GTK_CORNER_TOP_LEFT,
- GTK_CORNER_BOTTOM_LEFT,
- GTK_CORNER_TOP_RIGHT,
- GTK_CORNER_BOTTOM_RIGHT
-} GtkCornerType;
-
-/**
* GtkPackType:
* @GTK_PACK_START: The child is packed into the start of the box
* @GTK_PACK_END: The child is packed into the end of the box
@@ -441,22 +418,6 @@ typedef enum
} GtkPathType;
/**
- * GtkPolicyType:
- * @GTK_POLICY_ALWAYS: The scrollbar is always visible.
- * @GTK_POLICY_AUTOMATIC: The scrollbar will appear and disappear as necessary. For example,
- * when all of a #GtkCList can not be seen.
- * @GTK_POLICY_NEVER: The scrollbar will never appear.
- *
- * Determines when a scroll bar will be visible.
- */
-typedef enum
-{
- GTK_POLICY_ALWAYS,
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_NEVER
-} GtkPolicyType;
-
-/**
* GtkPositionType:
* @GTK_POS_LEFT: The feature is at the left edge.
* @GTK_POS_RIGHT: The feature is at the right edge.
diff --git a/gtk/gtkscrolledwindow.h b/gtk/gtkscrolledwindow.h
index 503b3d7..443a8c9 100644
--- a/gtk/gtkscrolledwindow.h
+++ b/gtk/gtkscrolledwindow.h
@@ -94,6 +94,47 @@ struct _GtkScrolledWindowClass
};
+/**
+ * GtkCornerType:
+ * @GTK_CORNER_TOP_LEFT: Place the scrollbars on the right and bottom of the
+ * widget (default behaviour).
+ * @GTK_CORNER_BOTTOM_LEFT: Place the scrollbars on the top and right of the
+ * widget.
+ * @GTK_CORNER_TOP_RIGHT: Place the scrollbars on the left and bottom of the
+ * widget.
+ * @GTK_CORNER_BOTTOM_RIGHT: Place the scrollbars on the top and left of the
+ * widget.
+ *
+ * Specifies which corner a child widget should be placed in when packed into
+ * a #GtkScrolledWindow. This is effectively the opposite of where the scroll
+ * bars are placed.
+ */
+typedef enum
+{
+ GTK_CORNER_TOP_LEFT,
+ GTK_CORNER_BOTTOM_LEFT,
+ GTK_CORNER_TOP_RIGHT,
+ GTK_CORNER_BOTTOM_RIGHT
+} GtkCornerType;
+
+
+/**
+ * GtkPolicyType:
+ * @GTK_POLICY_ALWAYS: The scrollbar is always visible.
+ * @GTK_POLICY_AUTOMATIC: The scrollbar will appear and disappear as necessary. For example,
+ * when all of a #GtkCList can not be seen.
+ * @GTK_POLICY_NEVER: The scrollbar will never appear.
+ *
+ * Determines when a scroll bar will be visible.
+ */
+typedef enum
+{
+ GTK_POLICY_ALWAYS,
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_NEVER
+} GtkPolicyType;
+
+
GDK_AVAILABLE_IN_ALL
GType gtk_scrolled_window_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index a12d5d8..dd46662 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -34,6 +34,7 @@
#include "gtkstyleproviderprivate.h"
#include "gtktypebuiltins.h"
#include "gtkversion.h"
+#include "gtkscrolledwindow.h"
#ifdef GDK_WINDOWING_X11
#include "x11/gdkx.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]