diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-03-21 19:45:27 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-23 19:54:23 +0200 |
commit | dca169d9f1cbaafb8a7fc9d28e0c64953aeaa1cf (patch) | |
tree | d767beb7add4bdea9e2358b84c2ca1758d7dee9a /gtk/gtkgestureswipe.h | |
parent | 315aedf5c8ce306ced5645e5b2bfd4b899bb4dad (diff) | |
download | gtk+-dca169d9f1cbaafb8a7fc9d28e0c64953aeaa1cf.tar.gz |
swipe: Make a subclass of GtkGestureSingle
Diffstat (limited to 'gtk/gtkgestureswipe.h')
-rw-r--r-- | gtk/gtkgestureswipe.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkgestureswipe.h b/gtk/gtkgestureswipe.h index 5806bb4367..b8564b0f18 100644 --- a/gtk/gtkgestureswipe.h +++ b/gtk/gtkgestureswipe.h @@ -25,7 +25,7 @@ #endif #include <gtk/gtkwidget.h> -#include <gtk/gtkgesture.h> +#include <gtk/gtkgesturesingle.h> G_BEGIN_DECLS @@ -41,12 +41,12 @@ typedef struct _GtkGestureSwipeClass GtkGestureSwipeClass; struct _GtkGestureSwipe { - GtkGesture parent_instance; + GtkGestureSingle parent_instance; }; struct _GtkGestureSwipeClass { - GtkGestureClass parent_class; + GtkGestureSingleClass parent_class; void (* swipe) (GtkGestureSwipe *gesture, gdouble velocity_x, |