[gtk+] docs: enum cleanup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] docs: enum cleanup
- Date: Mon, 26 May 2014 14:38:26 +0000 (UTC)
commit 0bd0f39576edb5805bdc4ae907ed15e1fc827231
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 26 10:24:02 2014 -0400
docs: enum cleanup
Move GtkStateType to the GtkWidget apis where it is used, and
mark the enum as deprecated.
docs/reference/gtk/gtk3-sections.txt | 2 +-
gtk/gtkenums.h | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt
index 13cd553..a962a17 100644
--- a/docs/reference/gtk/gtk3-sections.txt
+++ b/docs/reference/gtk/gtk3-sections.txt
@@ -5487,6 +5487,7 @@ gtk_widget_get_has_window
gtk_widget_set_has_window
gtk_widget_get_sensitive
gtk_widget_is_sensitive
+GtkStateType
gtk_widget_get_state
gtk_widget_get_visible
gtk_widget_is_visible
@@ -6539,7 +6540,6 @@ GtkScrollStep
GtkScrollType
GtkSelectionMode
GtkShadowType
-GtkStateType
GtkStateFlags
GtkToolbarStyle
GtkSortType
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index d095450..e6c7e0f 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -496,6 +496,9 @@ typedef enum
* the widget is drawn. The #GtkStateType enumeration is also used to
* identify different colors in a #GtkStyle for drawing, so states can be
* used for subparts of a widget as well as entire widgets.
+ *
+ * Deprecated: 3.14: All APIs that are using this enumeration have been deprecated
+ * in favor of alternatives using #GtkStateFlags.
*/
typedef enum
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]