summaryrefslogtreecommitdiff
path: root/gtk/gtkenums.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-05-26 11:58:18 +0200
committerCarlos Garnacho <carlosg@gnome.org>2014-05-27 17:47:12 +0200
commitef61c9c58b6e4c6c364d4df72f10d877aee24e33 (patch)
treeb0aed2a4789b35a428210c94c7afa8f749446c5b /gtk/gtkenums.h
parent68c1e83cf0fd7432dbb151ff351ce225708e3ffb (diff)
downloadgtk+-ef61c9c58b6e4c6c364d4df72f10d877aee24e33.tar.gz
gtk: Replace GtkPanOrientation with GtkOrientation
And document GtkOrientation to be more generic. There's little added value in a separate enum for this.
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r--gtk/gtkenums.h24
1 files changed, 5 insertions, 19 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index e6c7e0f790..9bd617f38a 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -331,11 +331,12 @@ typedef enum
/**
* GtkOrientation:
- * @GTK_ORIENTATION_HORIZONTAL: The widget is in horizontal orientation.
- * @GTK_ORIENTATION_VERTICAL: The widget is in vertical orientation.
+ * @GTK_ORIENTATION_HORIZONTAL: The element is in horizontal orientation.
+ * @GTK_ORIENTATION_VERTICAL: The element is in vertical orientation.
*
- * Represents the orientation of widgets which can be switched between horizontal
- * and vertical orientation on the fly, like #GtkToolbar.
+ * Represents the orientation of widgets and other objects which can be switched
+ * between horizontal and vertical orientation on the fly, like #GtkToolbar or
+ * #GtkGesturePan.
*/
typedef enum
{
@@ -1117,19 +1118,4 @@ typedef enum
GTK_PAN_DIRECTION_DOWN
} GtkPanDirection;
-/**
- * GtkPanOrientation:
- * @GTK_PAN_ORIENTATION_VERTICAL: vertical panning allowed
- * @GTK_PAN_ORIENTATION_HORIZONTAL: horizontal panning allowed
- *
- * Describes the panning axis of a #GtkGesturePan
- *
- * Since: 3.14
- */
-typedef enum
-{
- GTK_PAN_ORIENTATION_VERTICAL,
- GTK_PAN_ORIENTATION_HORIZONTAL
-} GtkPanOrientation;
-
#endif /* __GTK_ENUMS_H__ */