diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-18 02:19:53 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-20 23:12:33 +0100 |
commit | 9a6ec4e9591df1a8ed72bbf8793091a1f325b5ff (patch) | |
tree | a5a8ca3908f228fdfc64acc8a6a7ca3c5508094c /gtk/gtkcalendar.c | |
parent | 0638bbb5d58d783519fd07dc548996d405398f4f (diff) | |
download | gtk+-9a6ec4e9591df1a8ed72bbf8793091a1f325b5ff.tar.gz |
contentformats: Rename GtkTargetList
It's now called GdkContentsFormat
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r-- | gtk/gtkcalendar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index eaaf17d0e3..08fd646c66 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -2647,14 +2647,14 @@ gtk_calendar_motion_notify (GtkWidget *widget, x, y)) { GdkDragContext *context; - GtkTargetList *target_list = gtk_target_list_new (NULL, 0); - gtk_target_list_add_text_targets (target_list); + GdkContentFormats *target_list = gdk_content_formats_new (NULL, 0); + gtk_content_formats_add_text_targets (target_list); context = gtk_drag_begin_with_coordinates (widget, target_list, GDK_ACTION_COPY, 1, (GdkEvent *)event, priv->drag_start_x, priv->drag_start_y); priv->in_drag = 0; - gtk_target_list_unref (target_list); + gdk_content_formats_unref (target_list); gtk_drag_set_icon_default (context); } } |