[gnome-todo] task-list-view: Shuffle some functions around
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] task-list-view: Shuffle some functions around
- Date: Mon, 10 May 2021 12:06:09 +0000 (UTC)
commit fe329c32d798cca1337fbf8a2404291cda407dcf
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat May 8 21:34:46 2021 -0300
task-list-view: Shuffle some functions around
No funcional changes.
src/gui/gtd-task-list-view.c | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/src/gui/gtd-task-list-view.c b/src/gui/gtd-task-list-view.c
index 9600e978..efc6b153 100644
--- a/src/gui/gtd-task-list-view.c
+++ b/src/gui/gtd-task-list-view.c
@@ -276,6 +276,19 @@ on_empty_list_widget_add_tasks_cb (GtdEmptyListWidget *empty_list_widget,
gtk_stack_set_visible_child_name (self->main_stack, "task-list");
}
+static void
+on_new_task_row_entered_cb (GtdTaskListView *self,
+ GtdNewTaskRow *row)
+{
+ set_active_row (self, NULL);
+}
+
+static void
+on_new_task_row_exited_cb (GtdTaskListView *self,
+ GtdNewTaskRow *row)
+{
+}
+
static GtkWidget*
create_row_for_task_cb (gpointer item,
gpointer user_data)
@@ -456,20 +469,6 @@ on_remove_task_row_cb (GtdTaskRow *row,
set_active_row (self, NULL);
}
-static void
-on_new_task_row_entered_cb (GtdTaskListView *self,
- GtdNewTaskRow *row)
-{
- set_active_row (self, NULL);
-}
-
-static void
-on_new_task_row_exited_cb (GtdTaskListView *self,
- GtdNewTaskRow *row)
-{
-
-}
-
static void
on_task_row_entered_cb (GtdTaskListView *self,
GtdTaskRow *row)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]