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/gtklinkbutton.c | |
parent | 0638bbb5d58d783519fd07dc548996d405398f4f (diff) | |
download | gtk+-9a6ec4e9591df1a8ed72bbf8793091a1f325b5ff.tar.gz |
contentformats: Rename GtkTargetList
It's now called GdkContentsFormat
Diffstat (limited to 'gtk/gtklinkbutton.c')
-rw-r--r-- | gtk/gtklinkbutton.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c index ee52cb1d88..d4cb05ab89 100644 --- a/gtk/gtklinkbutton.c +++ b/gtk/gtklinkbutton.c @@ -217,7 +217,7 @@ gtk_link_button_init (GtkLinkButton *link_button) { GtkLinkButtonPrivate *priv = gtk_link_button_get_instance_private (link_button); GtkStyleContext *context; - GtkTargetList *targets; + GdkContentFormats *targets; link_button->priv = priv; @@ -232,12 +232,12 @@ gtk_link_button_init (GtkLinkButton *link_button) G_CALLBACK (gtk_link_button_query_tooltip_cb), NULL); /* enable drag source */ - targets = gtk_target_list_new (link_drop_types, G_N_ELEMENTS (link_drop_types)); + targets = gdk_content_formats_new (link_drop_types, G_N_ELEMENTS (link_drop_types)); gtk_drag_source_set (GTK_WIDGET (link_button), GDK_BUTTON1_MASK, targets, GDK_ACTION_COPY); - gtk_target_list_unref (targets); + gdk_content_formats_unref (targets); priv->click_gesture = gtk_gesture_multi_press_new (GTK_WIDGET (link_button)); gtk_gesture_single_set_touch_only (GTK_GESTURE_SINGLE (priv->click_gesture), FALSE); |