[gnome-calendar] manager: remove unused ::source-activated signal
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] manager: remove unused ::source-activated signal
- Date: Wed, 28 Sep 2016 00:31:16 +0000 (UTC)
commit 9da6896105108b5948ca62b0604dfec20f9133d2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Sep 27 21:29:49 2016 -0300
manager: remove unused ::source-activated signal
We're not using it anymore, no need to keep it here.
https://bugzilla.gnome.org/show_bug.cgi?id=768324
src/gcal-manager.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index a7c07e0..0c7a0ba 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -101,7 +101,6 @@ enum
enum
{
- SOURCE_ACTIVATED,
SOURCE_ADDED,
SOURCE_CHANGED,
SOURCE_REMOVED,
@@ -415,7 +414,7 @@ on_client_readonly_changed (EClient *client,
unit = g_hash_table_lookup (manager->clients, source);
if (unit && unit->enabled)
- g_signal_emit (GCAL_MANAGER (user_data), signals[SOURCE_ACTIVATED], 0, source, !e_client_is_readonly
(client));
+ source_changed (manager, source);
}
@@ -712,11 +711,6 @@ gcal_manager_class_init (GcalManagerClass *klass)
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
/* signals */
- signals[SOURCE_ACTIVATED] = g_signal_new ("source-activated", GCAL_TYPE_MANAGER, G_SIGNAL_RUN_LAST,
- 0,
- NULL, NULL, NULL,
- G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_BOOLEAN);
-
signals[SOURCE_ADDED] = g_signal_new ("source-added", GCAL_TYPE_MANAGER, G_SIGNAL_RUN_LAST,
0,
NULL, NULL, NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]