[gnome-todo] task-list-view: Remove dead code



commit 3523f6d1cff665f1b13325971585db64195077fd
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Feb 19 10:38:23 2020 -0300

    task-list-view: Remove dead code
    
    Not sure how this sneaked into the last commit,
    but this is embarrising.

 src/task-list-view/gtd-task-list-view.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/src/task-list-view/gtd-task-list-view.c b/src/task-list-view/gtd-task-list-view.c
index d074e6b..d3b1121 100644
--- a/src/task-list-view/gtd-task-list-view.c
+++ b/src/task-list-view/gtd-task-list-view.c
@@ -776,8 +776,6 @@ on_drop_target_accept_cb (GtkDropTarget   *drop_target,
                           GtdTaskListView *self)
 {
   g_autoptr (GdkContentFormats) formats = NULL;
-  g_autoptr (GString) string = NULL;
-  GdkContentProvider *provider;
   GdkDrag *drag;
 
   GTD_ENTRY;
@@ -787,12 +785,7 @@ on_drop_target_accept_cb (GtkDropTarget   *drop_target,
   if (!drag)
     GTD_RETURN (FALSE);
 
-  provider = gdk_drag_get_con
-  formats = gdk_dr (drop);
-
-  string = g_string_new ("");
-  gdk_content_formats_print (formats, string);
-  g_message ("%s: %s", G_STRFUNC, string->str);
+  formats = gdk_drop_get_formats (drop);
 
   GTD_RETURN (gdk_content_formats_contain_gtype (formats, GTD_TYPE_TASK));
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]