diff options
Diffstat (limited to 'gtk/gtkdragdest.c')
-rw-r--r-- | gtk/gtkdragdest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkdragdest.c b/gtk/gtkdragdest.c index 91afffba79..fabbe27a4e 100644 --- a/gtk/gtkdragdest.c +++ b/gtk/gtkdragdest.c @@ -273,7 +273,7 @@ gtk_drag_dest_add_text_targets (GtkWidget *widget) gdk_content_formats_ref (target_list); else target_list = gdk_content_formats_new (NULL, 0); - gtk_content_formats_add_text_targets (target_list); + target_list = gtk_content_formats_add_text_targets (target_list); gtk_drag_dest_set_target_list (widget, target_list); gdk_content_formats_unref (target_list); } @@ -300,7 +300,7 @@ gtk_drag_dest_add_image_targets (GtkWidget *widget) gdk_content_formats_ref (target_list); else target_list = gdk_content_formats_new (NULL, 0); - gtk_content_formats_add_image_targets (target_list, FALSE); + target_list = gtk_content_formats_add_image_targets (target_list, FALSE); gtk_drag_dest_set_target_list (widget, target_list); gdk_content_formats_unref (target_list); } @@ -327,7 +327,7 @@ gtk_drag_dest_add_uri_targets (GtkWidget *widget) gdk_content_formats_ref (target_list); else target_list = gdk_content_formats_new (NULL, 0); - gtk_content_formats_add_uri_targets (target_list); + target_list = gtk_content_formats_add_uri_targets (target_list); gtk_drag_dest_set_target_list (widget, target_list); gdk_content_formats_unref (target_list); } |