[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:55:27 +0000 (UTC)
commit 575d0eabfb81d762e2b712c2258fb8221fda2024
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 20 09:37:53 2014 -0400
docs: enum cleanup
Move GtkResizeMode to the only place it is used.
docs/reference/gtk/gtk3-sections.txt | 2 +-
gtk/gtkcontainer.h | 14 ++++++++++++++
gtk/gtkenums.h | 13 -------------
3 files changed, 15 insertions(+), 14 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index 4900250..f8dae6d 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -983,6 +983,7 @@ GTK_CONTAINER_WARN_INVALID_CHILD_PROPERTY_ID
gtk_container_add
gtk_container_remove
gtk_container_add_with_properties
+GtkResizeMode
gtk_container_get_resize_mode
gtk_container_set_resize_mode
gtk_container_check_resize
@@ -6532,7 +6533,6 @@ GtkOrientation
GtkPackType
GtkPositionType
GtkReliefStyle
-GtkResizeMode
GtkScrollStep
GtkScrollType
GtkSelectionMode
diff --git a/gtk/gtkcontainer.h b/gtk/gtkcontainer.h
index 9e7d512..a3e9b66 100644
--- a/gtk/gtkcontainer.h
+++ b/gtk/gtkcontainer.h
@@ -122,6 +122,20 @@ struct _GtkContainerClass
};
+/**
+ * GtkResizeMode:
+ * @GTK_RESIZE_PARENT: Pass resize request to the parent
+ * @GTK_RESIZE_QUEUE: Queue resizes on this widget
+ * @GTK_RESIZE_IMMEDIATE: Resize immediately. Deprecated.
+ */
+typedef enum
+{
+ GTK_RESIZE_PARENT,
+ GTK_RESIZE_QUEUE,
+ GTK_RESIZE_IMMEDIATE
+} GtkResizeMode;
+
+
/* Application-level methods */
GDK_AVAILABLE_IN_ALL
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 7fdc090..03aa5f7 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -409,19 +409,6 @@ typedef enum
} GtkReliefStyle;
/**
- * GtkResizeMode:
- * @GTK_RESIZE_PARENT: Pass resize request to the parent
- * @GTK_RESIZE_QUEUE: Queue resizes on this widget
- * @GTK_RESIZE_IMMEDIATE: Resize immediately. Deprecated.
- */
-typedef enum
-{
- GTK_RESIZE_PARENT,
- GTK_RESIZE_QUEUE,
- GTK_RESIZE_IMMEDIATE
-} GtkResizeMode;
-
-/**
* GtkScrollType:
* @GTK_SCROLL_NONE: No scrolling.
* @GTK_SCROLL_JUMP: Jump to new location.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]