gtk: Replace GtkPanOrientation with GtkOrientation

And document GtkOrientation to be more generic. There's little added
value in a separate enum for this.
This commit is contained in:
Carlos Garnacho
2014-05-26 11:58:18 +02:00
parent 68c1e83cf0
commit ef61c9c58b
4 changed files with 32 additions and 46 deletions

View File

@ -42,15 +42,15 @@ GDK_AVAILABLE_IN_3_14
GType gtk_gesture_pan_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_3_14
GtkGesture * gtk_gesture_pan_new (GtkWidget *widget,
GtkPanOrientation orientation);
GtkGesture * gtk_gesture_pan_new (GtkWidget *widget,
GtkOrientation orientation);
GDK_AVAILABLE_IN_3_14
GtkPanOrientation gtk_gesture_pan_get_orientation (GtkGesturePan *gesture);
GtkOrientation gtk_gesture_pan_get_orientation (GtkGesturePan *gesture);
GDK_AVAILABLE_IN_3_14
void gtk_gesture_pan_set_orientation (GtkGesturePan *gesture,
GtkPanOrientation orientation);
void gtk_gesture_pan_set_orientation (GtkGesturePan *gesture,
GtkOrientation orientation);
G_END_DECLS