[gnome-todo] activatable: Remove unused signal
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] activatable: Remove unused signal
- Date: Sat, 2 May 2020 02:11:55 +0000 (UTC)
commit 68a73dee347291f6925be1b88771d5f6eb18d1d2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri May 1 11:00:18 2020 -0300
activatable: Remove unused signal
GtdProvider is a GObject and we can connect to 'notify', so we don't
need this signal in GtdActivatable.
src/interfaces/gtd-activatable.c | 20 --------------------
1 file changed, 20 deletions(-)
---
diff --git a/src/interfaces/gtd-activatable.c b/src/interfaces/gtd-activatable.c
index bf9d4d3..ce87c15 100644
--- a/src/interfaces/gtd-activatable.c
+++ b/src/interfaces/gtd-activatable.c
@@ -54,7 +54,6 @@ G_DEFINE_INTERFACE (GtdActivatable, gtd_activatable, G_TYPE_OBJECT)
enum
{
PROVIDER_ADDED,
- PROVIDER_CHANGED,
PROVIDER_REMOVED,
NUM_SIGNALS
};
@@ -95,25 +94,6 @@ gtd_activatable_default_init (GtdActivatableInterface *iface)
1,
GTD_TYPE_PROVIDER);
- /**
- * GtdActivatable::provider-changed:
- * @activatable: a #GtdActivatable
- * @provider: a #GtdProvider
- *
- * The ::provider-changed signal is emmited after a #GtdProvider
- * has any of it's properties changed.
- */
- signals[PROVIDER_CHANGED] = g_signal_new ("provider-changed",
- GTD_TYPE_ACTIVATABLE,
- G_SIGNAL_RUN_LAST,
- 0,
- NULL,
- NULL,
- NULL,
- G_TYPE_NONE,
- 1,
- GTD_TYPE_PROVIDER);
-
/**
* GtdActivatable::provider-removed:
* @activatable: a #GtdActivatable
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]