[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:42 +0000 (UTC)
commit cf1c8c8c691b5ce6ffb63eea36cac31b027cf828
Author: Matthias Clasen <mclasen redhat com>
Date: Tue May 20 06:22:13 2014 -0400
docs: enum cleanup
Move GtkAttachOptions to the only place its used: GtkTable
docs/reference/gtk/gtk3-sections.txt | 2 +-
gtk/deprecated/gtktable.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 aa97a4d..0847d49 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -3476,6 +3476,7 @@ GtkTable
gtk_table_new
gtk_table_resize
gtk_table_get_size
+GtkAttachOptions
gtk_table_attach
gtk_table_attach_defaults
gtk_table_set_row_spacing
@@ -6507,7 +6508,6 @@ gtk_binding_set_add_path
<SECTION>
<FILE>gtkenums</FILE>
<TITLE>Standard Enumerations</TITLE>
-GtkAttachOptions
GtkBaselinePosition
GtkButtonBoxStyle
GtkCornerType
diff --git a/gtk/deprecated/gtktable.h b/gtk/deprecated/gtktable.h
index 5a35c9f..903ea89 100644
--- a/gtk/deprecated/gtktable.h
+++ b/gtk/deprecated/gtktable.h
@@ -95,6 +95,23 @@ struct _GtkTableRowCol
guint empty : 1;
};
+/**
+ * GtkAttachOptions:
+ * @GTK_EXPAND: the widget should expand to take up any extra space in its
+ * container that has been allocated.
+ * @GTK_SHRINK: the widget should shrink as and when possible.
+ * @GTK_FILL: the widget should fill the space allocated to it.
+ *
+ * Denotes the expansion properties that a widget will have when it (or its
+ * parent) is resized.
+ */
+typedef enum
+{
+ GTK_EXPAND = 1 << 0,
+ GTK_SHRINK = 1 << 1,
+ GTK_FILL = 1 << 2
+} GtkAttachOptions;
+
GDK_DEPRECATED_IN_3_4
GType gtk_table_get_type (void) G_GNUC_CONST;
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 6488a77..3cf33be 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -99,23 +99,6 @@ typedef enum
} GtkArrowType;
/**
- * GtkAttachOptions:
- * @GTK_EXPAND: the widget should expand to take up any extra space in its
- * container that has been allocated.
- * @GTK_SHRINK: the widget should shrink as and when possible.
- * @GTK_FILL: the widget should fill the space allocated to it.
- *
- * Denotes the expansion properties that a widget will have when it (or its
- * parent) is resized.
- */
-typedef enum
-{
- GTK_EXPAND = 1 << 0,
- GTK_SHRINK = 1 << 1,
- GTK_FILL = 1 << 2
-} GtkAttachOptions;
-
-/**
* GtkBaselinePosition:
* @GTK_BASELINE_POSITION_TOP: Align the baseline at the top
* @GTK_BASELINE_POSITION_CENTER: Center the baseline
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]