[gnome-todo/wip/gbsneto/subtasks: 22/37] task: fix typo



commit 840fbd69c8533d57fd59c4848567c35886e85f9d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Oct 14 11:28:04 2016 -0300

    task: fix typo

 src/gtd-task-list-view.c |    8 ++++----
 src/gtd-task.c           |    4 ++--
 src/gtd-task.h           |    2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gtd-task-list-view.c b/src/gtd-task-list-view.c
index 759ae2e..a21459c 100644
--- a/src/gtd-task-list-view.c
+++ b/src/gtd-task-list-view.c
@@ -169,7 +169,7 @@ real_save_task (GtdTaskListView *self,
     {
       GList *subtasks, *l;
 
-      subtasks = gtd_task_get_substasks (aux);
+      subtasks = gtd_task_get_subtasks (aux);
 
       /*
        * This will emit GtdTaskList::task-added and we'll readd
@@ -215,7 +215,7 @@ remove_task_action (GtdNotification *notification,
     {
       GList *subtasks, *l;
 
-      subtasks = gtd_task_get_substasks (aux);
+      subtasks = gtd_task_get_subtasks (aux);
 
       gtd_manager_remove_task (manager, aux);
 
@@ -445,7 +445,7 @@ recursively_remove_task (GtdTaskListView *self,
     {
       GList *subtasks, *l;
 
-      subtasks = gtd_task_get_substasks (aux);
+      subtasks = gtd_task_get_subtasks (aux);
 
       /* Remove the task from the list */
       gtd_task_list_remove_task (list, aux);
@@ -487,7 +487,7 @@ gtd_task_list_view__remove_task_cb (GtdEditPane *pane,
 
   g_return_if_fail (GTD_IS_TASK_LIST_VIEW (user_data));
 
-  subtasks = gtd_task_get_substasks (task);
+  subtasks = gtd_task_get_subtasks (task);
 
   /*
    * If the task has subtasks, ask the user if he/she really wants to
diff --git a/src/gtd-task.c b/src/gtd-task.c
index 5724ee5..d29ba97 100644
--- a/src/gtd-task.c
+++ b/src/gtd-task.c
@@ -1373,7 +1373,7 @@ gtd_task_get_parent (GtdTask *self)
 }
 
 /**
- * gtd_task_get_substasks:
+ * gtd_task_get_subtasks:
  * @self: a #GtdTask
  *
  * Retrieves the subtasks of @self, or %NULL if it has no subtasks.
@@ -1381,7 +1381,7 @@ gtd_task_get_parent (GtdTask *self)
  * Returns: (transfer container)(nullable)(element-type Gtd.Task): the subtasks of @self
  */
 GList*
-gtd_task_get_substasks (GtdTask *self)
+gtd_task_get_subtasks (GtdTask *self)
 {
   GtdTaskPrivate *priv;
 
diff --git a/src/gtd-task.h b/src/gtd-task.h
index 3ed4121..4dfb710 100644
--- a/src/gtd-task.h
+++ b/src/gtd-task.h
@@ -89,7 +89,7 @@ gint                gtd_task_compare                  (GtdTask              *t1,
 
 GtdTask*            gtd_task_get_parent               (GtdTask              *self);
 
-GList*              gtd_task_get_substasks            (GtdTask              *self);
+GList*              gtd_task_get_subtasks             (GtdTask              *self);
 
 void                gtd_task_add_subtask              (GtdTask              *self,
                                                        GtdTask              *subtask);


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