diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-05-26 12:38:06 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-27 17:47:12 +0200 |
commit | ad6606e8af05875e60260903c071b6cc7e135194 (patch) | |
tree | c1655cf1ea8b90ef3e6a79b6275d6c2f6ea89493 /gtk/gtkpaned.c | |
parent | 2e903243c69a5c9c6b6498a77a10d49b7e78846f (diff) | |
download | gtk+-ad6606e8af05875e60260903c071b6cc7e135194.tar.gz |
gtk: Update callers of GtkGesturePan orientation
Diffstat (limited to 'gtk/gtkpaned.c')
-rw-r--r-- | gtk/gtkpaned.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c index c41c171164..b10a7df738 100644 --- a/gtk/gtkpaned.c +++ b/gtk/gtkpaned.c @@ -793,7 +793,7 @@ gtk_paned_init (GtkPaned *paned) priv->handle_pos.y = -1; gesture = gtk_gesture_pan_new (GTK_WIDGET (paned), - GTK_PAN_ORIENTATION_HORIZONTAL); + GTK_ORIENTATION_HORIZONTAL); gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (gesture), FALSE); g_signal_connect (gesture, "drag-begin", G_CALLBACK (pan_gesture_drag_begin_cb), paned); @@ -824,13 +824,13 @@ gtk_paned_set_property (GObject *object, { priv->cursor_type = GDK_SB_H_DOUBLE_ARROW; gtk_gesture_pan_set_orientation (GTK_GESTURE_PAN (priv->pan_gesture), - GTK_PAN_ORIENTATION_HORIZONTAL); + GTK_ORIENTATION_HORIZONTAL); } else { priv->cursor_type = GDK_SB_V_DOUBLE_ARROW; gtk_gesture_pan_set_orientation (GTK_GESTURE_PAN (priv->pan_gesture), - GTK_PAN_ORIENTATION_VERTICAL); + GTK_ORIENTATION_VERTICAL); } /* state_flags_changed updates the cursor */ |