[gnome-todo] plugins: Properly connect to GtdClock:day-changed signal
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] plugins: Properly connect to GtdClock:day-changed signal
- Date: Sun, 31 Mar 2019 13:06:07 +0000 (UTC)
commit e2abd0b377d3b04110bc598f38893099b23a7bfc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun Mar 31 10:03:30 2019 -0300
plugins: Properly connect to GtdClock:day-changed signal
The signal handlers are not swapped, remove that flag.
plugins/all-tasks-panel/gtd-all-tasks-panel.c | 2 +-
plugins/next-week-panel/gtd-next-week-panel.c | 2 +-
plugins/scheduled-panel/gtd-panel-scheduled.c | 2 +-
plugins/today-panel/gtd-panel-today.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/all-tasks-panel/gtd-all-tasks-panel.c b/plugins/all-tasks-panel/gtd-all-tasks-panel.c
index 8cfd075..8f69575 100644
--- a/plugins/all-tasks-panel/gtd-all-tasks-panel.c
+++ b/plugins/all-tasks-panel/gtd-all-tasks-panel.c
@@ -458,7 +458,7 @@ gtd_all_tasks_panel_init (GtdAllTasksPanel *self)
"day-changed",
G_CALLBACK (on_clock_day_changed_cb),
self,
- G_CONNECT_SWAPPED);
+ 0);
}
GtkWidget*
diff --git a/plugins/next-week-panel/gtd-next-week-panel.c b/plugins/next-week-panel/gtd-next-week-panel.c
index 21dbc42..4424e6c 100644
--- a/plugins/next-week-panel/gtd-next-week-panel.c
+++ b/plugins/next-week-panel/gtd-next-week-panel.c
@@ -508,7 +508,7 @@ gtd_next_week_panel_init (GtdNextWeekPanel *self)
"day-changed",
G_CALLBACK (on_clock_day_changed_cb),
self,
- G_CONNECT_SWAPPED);
+ 0);
}
GtkWidget*
diff --git a/plugins/scheduled-panel/gtd-panel-scheduled.c b/plugins/scheduled-panel/gtd-panel-scheduled.c
index 647c8d3..23cabcc 100644
--- a/plugins/scheduled-panel/gtd-panel-scheduled.c
+++ b/plugins/scheduled-panel/gtd-panel-scheduled.c
@@ -501,7 +501,7 @@ gtd_panel_scheduled_init (GtdPanelScheduled *self)
"day-changed",
G_CALLBACK (on_clock_day_changed_cb),
self,
- G_CONNECT_SWAPPED);
+ 0);
}
GtkWidget*
diff --git a/plugins/today-panel/gtd-panel-today.c b/plugins/today-panel/gtd-panel-today.c
index b5fe518..34fdddf 100644
--- a/plugins/today-panel/gtd-panel-today.c
+++ b/plugins/today-panel/gtd-panel-today.c
@@ -420,7 +420,7 @@ gtd_panel_today_init (GtdPanelToday *self)
"day-changed",
G_CALLBACK (on_clock_day_changed_cb),
self,
- G_CONNECT_SWAPPED);
+ 0);
}
GtkWidget*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]