summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-09-10 18:10:52 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-09-10 18:10:52 +0100
commit9bf797ebf0bac51b3647bd063b47ca8d78c0c84d (patch)
tree75e6190bf2db1d09dc246719f2856d0dd93fd223
parentf976919e884fd85726b232eab3f76c558c904308 (diff)
Mark McpAccountStorage::altered as deprecated
It would be nice to have, but apparently it doesn't actually work... so I'm not going to waste any time on it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=28288
-rw-r--r--mission-control-plugins/account-storage.c12
-rw-r--r--mission-control-plugins/account-storage.h1
2 files changed, 7 insertions, 6 deletions
diff --git a/mission-control-plugins/account-storage.c b/mission-control-plugins/account-storage.c
index f878ab0e..fdb9c249 100644
--- a/mission-control-plugins/account-storage.c
+++ b/mission-control-plugins/account-storage.c
@@ -129,16 +129,16 @@ class_init (gpointer klass,
* McpAccountStorage::altered
* @account: the unique name of the altered account
*
- * emitted if an external entity alters an account
- * in the backend the emitting plugin handles
- * should not be emitted if a single known property has been
- * altered, see McpAccountStorage::altered-one instead
+ * This signal does not appear to be fully implemented
+ * (see <ulink href="https://bugs.freedesktop.org/show_bug.cgi?id=28288"
+ * >freedesktop.org bug 28288</ulink>).
+ * Emit #McpAccountStorage::altered-one instead.
*
* Should not be fired until mcp_account_storage_ready() has been called
*
- **/
+ */
signals[ALTERED] = g_signal_new ("altered",
- type, G_SIGNAL_RUN_LAST, 0, NULL, NULL,
+ type, G_SIGNAL_RUN_LAST | G_SIGNAL_DEPRECATED, 0, NULL, NULL,
g_cclosure_marshal_VOID__STRING, G_TYPE_NONE,
1, G_TYPE_STRING);
diff --git a/mission-control-plugins/account-storage.h b/mission-control-plugins/account-storage.h
index 3f084767..0eeb74a4 100644
--- a/mission-control-plugins/account-storage.h
+++ b/mission-control-plugins/account-storage.h
@@ -243,6 +243,7 @@ const gchar *mcp_account_storage_provider (const McpAccountStorage *storage);
void mcp_account_storage_emit_created (McpAccountStorage *storage,
const gchar *account);
+G_DEPRECATED_FOR (something that is actually implemented)
void mcp_account_storage_emit_altered (McpAccountStorage *storage,
const gchar *account);
void mcp_account_storage_emit_altered_one (McpAccountStorage *storage,