diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-10 18:05:57 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2018-04-26 17:59:42 +0200 |
commit | 1e6eb1f8b94ad10f30678285860dc24877bbbac3 (patch) | |
tree | eef4b5f579a657072967e7f7dd047494af5add1d /gtk/gtkgesturedrag.c | |
parent | bf82149271b4f6bf6379b22eeea191dffe6823dd (diff) | |
download | gtk+-1e6eb1f8b94ad10f30678285860dc24877bbbac3.tar.gz |
draggesture: Port to new API model
Diffstat (limited to 'gtk/gtkgesturedrag.c')
-rw-r--r-- | gtk/gtkgesturedrag.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkgesturedrag.c b/gtk/gtkgesturedrag.c index 11d7752056..baccf2f2df 100644 --- a/gtk/gtkgesturedrag.c +++ b/gtk/gtkgesturedrag.c @@ -195,19 +195,15 @@ gtk_gesture_drag_init (GtkGestureDrag *gesture) /** * gtk_gesture_drag_new: - * @widget: a #GtkWidget * * Returns a newly created #GtkGesture that recognizes drags. * * Returns: a newly created #GtkGestureDrag **/ GtkGesture * -gtk_gesture_drag_new (GtkWidget *widget) +gtk_gesture_drag_new (void) { - g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL); - return g_object_new (GTK_TYPE_GESTURE_DRAG, - "widget", widget, NULL); } |