[gnome-todo/wip/gbsneto/subtasks: 18/37] dnd-row: remove unused API



commit b6619f52e9c055215f471c45eabefff6e8558810
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Oct 14 10:26:08 2016 -0300

    dnd-row: remove unused API
    
    Why did I left this?

 src/gtd-dnd-row.c |   18 ------------------
 src/gtd-dnd-row.h |    3 ---
 2 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/gtd-dnd-row.c b/src/gtd-dnd-row.c
index a8f8077..72df094 100644
--- a/src/gtd-dnd-row.c
+++ b/src/gtd-dnd-row.c
@@ -32,7 +32,6 @@ struct _GtdDndRow
   GtkWidget          *icon;
 
   GtdTaskRow         *row_above;
-  GtdTask            *source_task;
   gint                depth;
   gboolean            has_dnd : 1;
 };
@@ -310,23 +309,6 @@ gtd_dnd_row_set_row_above (GtdDndRow  *self,
     }
 }
 
-GtdTask*
-gtd_dnd_row_get_source_task (GtdDndRow *self)
-{
-  g_return_val_if_fail (GTD_IS_DND_ROW (self), NULL);
-
-  return self->source_task;
-}
-
-void
-gtd_dnd_row_set_source_task (GtdDndRow *self,
-                             GtdTask   *source_task)
-{
-  g_return_if_fail (GTD_IS_DND_ROW (self));
-
-  g_set_object (&self->source_task, source_task);
-}
-
 gboolean
 gtd_dnd_row_has_dnd (GtdDndRow *self)
 {
diff --git a/src/gtd-dnd-row.h b/src/gtd-dnd-row.h
index e55d466..338e34f 100644
--- a/src/gtd-dnd-row.h
+++ b/src/gtd-dnd-row.h
@@ -36,10 +36,7 @@ GtdTaskRow*          gtd_dnd_row_get_row_above                   (GtdDndRow
 void                 gtd_dnd_row_set_row_above                   (GtdDndRow          *self,
                                                                   GtdTaskRow         *row);
 
-GtdTask*             gtd_dnd_row_get_source_task                 (GtdDndRow          *self);
 
-void                 gtd_dnd_row_set_source_task                 (GtdDndRow          *self,
-                                                                  GtdTask            *source_task);
 
 gboolean             gtd_dnd_row_has_dnd                         (GtdDndRow          *self);
 


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