summaryrefslogtreecommitdiff
path: root/mission-control-plugins
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-10 12:20:17 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-09-12 12:32:42 +0100
commitef3604ce0f40d890fb4cab4e1b00ede7b4850acd (patch)
tree6efd0b83183d917a9ada76e311712d742f0a2b90 /mission-control-plugins
parent551fa1aca67bff62f49de1ef577c60247fe19300 (diff)
Remove deprecated vtable-filling functions
https://bugs.freedesktop.org/show_bug.cgi?id=69176 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Diffstat (limited to 'mission-control-plugins')
-rw-r--r--mission-control-plugins/account-storage.c109
-rw-r--r--mission-control-plugins/account-storage.h62
2 files changed, 0 insertions, 171 deletions
diff --git a/mission-control-plugins/account-storage.c b/mission-control-plugins/account-storage.c
index f4bec62b..b96b8e1f 100644
--- a/mission-control-plugins/account-storage.c
+++ b/mission-control-plugins/account-storage.c
@@ -326,115 +326,6 @@ mcp_account_storage_get_type (void)
* The interface vtable for an account storage plugin.
*/
-void
-mcp_account_storage_iface_set_priority (McpAccountStorageIface *iface,
- guint prio)
-{
- iface->priority = prio;
-}
-
-void
-mcp_account_storage_iface_set_name (McpAccountStorageIface *iface,
- const gchar *name)
-{
- iface->name = name;
-}
-
-void
-mcp_account_storage_iface_set_desc (McpAccountStorageIface *iface,
- const gchar *desc)
-{
- iface->desc = desc;
-}
-
-void
-mcp_account_storage_iface_set_provider (McpAccountStorageIface *iface,
- const gchar *provider)
-{
- iface->provider = provider;
-}
-
-void
-mcp_account_storage_iface_implement_get (McpAccountStorageIface *iface,
- McpAccountStorageGetFunc method)
-{
- iface->get = method;
-}
-
-void
-mcp_account_storage_iface_implement_set (McpAccountStorageIface *iface,
- McpAccountStorageSetFunc method)
-{
- iface->set = method;
-}
-
-void
-mcp_account_storage_iface_implement_delete (McpAccountStorageIface *iface,
- McpAccountStorageDeleteFunc method)
-{
- iface->delete = method;
-}
-
-void
-mcp_account_storage_iface_implement_commit (McpAccountStorageIface *iface,
- McpAccountStorageCommitFunc method)
-{
- iface->commit = method;
-}
-
-void
-mcp_account_storage_iface_implement_commit_one (McpAccountStorageIface *iface,
- McpAccountStorageCommitOneFunc method)
-{
- iface->commit_one = method;
-}
-
-void
-mcp_account_storage_iface_implement_list (McpAccountStorageIface *iface,
- McpAccountStorageListFunc method)
-{
- iface->list = method;
-}
-
-void
-mcp_account_storage_iface_implement_ready (McpAccountStorageIface *iface,
- McpAccountStorageReadyFunc method)
-{
- iface->ready = method;
-}
-
-void
-mcp_account_storage_iface_implement_get_identifier (
- McpAccountStorageIface *iface,
- McpAccountStorageGetIdentifierFunc method)
-{
- iface->get_identifier = method;
-}
-
-void
-mcp_account_storage_iface_implement_get_additional_info (
- McpAccountStorageIface *iface,
- McpAccountStorageGetAdditionalInfoFunc method)
-{
- iface->get_additional_info = method;
-}
-
-void
-mcp_account_storage_iface_implement_get_restrictions (
- McpAccountStorageIface *iface,
- McpAccountStorageGetRestrictionsFunc method)
-{
- iface->get_restrictions = method;
-}
-
-void
-mcp_account_storage_iface_implement_create (
- McpAccountStorageIface *iface,
- McpAccountStorageCreate method)
-{
- iface->create = method;
-}
-
/**
* mcp_account_storage_priority:
* @storage: an #McpAccountStorage instance
diff --git a/mission-control-plugins/account-storage.h b/mission-control-plugins/account-storage.h
index 171f4608..38c6940d 100644
--- a/mission-control-plugins/account-storage.h
+++ b/mission-control-plugins/account-storage.h
@@ -146,68 +146,6 @@ struct _McpAccountStorageIface
McpParameterFlags flags);
};
-#ifndef __GTK_DOC_IGNORE__
-#ifndef MC_DISABLE_DEPRECATED
-
-/* functions with which to fill in the vtable */
-G_DEPRECATED_FOR (iface->priority = prio)
-void mcp_account_storage_iface_set_priority (McpAccountStorageIface *iface,
- guint prio);
-
-G_DEPRECATED_FOR (iface->name = name)
-void mcp_account_storage_iface_set_name (McpAccountStorageIface *iface,
- const gchar *name);
-
-G_DEPRECATED_FOR (iface->desc = desc)
-void mcp_account_storage_iface_set_desc (McpAccountStorageIface *iface,
- const gchar *desc);
-
-G_DEPRECATED_FOR (iface->provider = provider)
-void mcp_account_storage_iface_set_provider (McpAccountStorageIface *iface,
- const gchar *provider);
-
-G_DEPRECATED_FOR (iface->get = method)
-void mcp_account_storage_iface_implement_get (McpAccountStorageIface *iface,
- McpAccountStorageGetFunc method);
-G_DEPRECATED_FOR (iface->set = method)
-void mcp_account_storage_iface_implement_set (McpAccountStorageIface *iface,
- McpAccountStorageSetFunc method);
-G_DEPRECATED_FOR (iface->create = method)
-void mcp_account_storage_iface_implement_create (
- McpAccountStorageIface *iface,
- McpAccountStorageCreate method);
-G_DEPRECATED_FOR (iface->delete = method)
-void mcp_account_storage_iface_implement_delete (McpAccountStorageIface *iface,
- McpAccountStorageDeleteFunc method);
-G_DEPRECATED_FOR (iface->list = method)
-void mcp_account_storage_iface_implement_list (McpAccountStorageIface *iface,
- McpAccountStorageListFunc method);
-G_DEPRECATED_FOR (iface->commit = method)
-void mcp_account_storage_iface_implement_commit (McpAccountStorageIface *iface,
- McpAccountStorageCommitFunc method);
-G_DEPRECATED_FOR (iface->commit_one = method)
-void mcp_account_storage_iface_implement_commit_one (
- McpAccountStorageIface *iface,
- McpAccountStorageCommitOneFunc method);
-G_DEPRECATED_FOR (iface->ready = method)
-void mcp_account_storage_iface_implement_ready (McpAccountStorageIface *iface,
- McpAccountStorageReadyFunc method);
-G_DEPRECATED_FOR (iface->get_identifier = method)
-void mcp_account_storage_iface_implement_get_identifier (
- McpAccountStorageIface *iface,
- McpAccountStorageGetIdentifierFunc method);
-G_DEPRECATED_FOR (iface->get_additional_info = method)
-void mcp_account_storage_iface_implement_get_additional_info (
- McpAccountStorageIface *iface,
- McpAccountStorageGetAdditionalInfoFunc method);
-G_DEPRECATED_FOR (iface->get_restrictions = method)
-void mcp_account_storage_iface_implement_get_restrictions (
- McpAccountStorageIface *iface,
- McpAccountStorageGetRestrictionsFunc method);
-
-#endif /* !defined(MC_DISABLE_DEPRECATED) */
-#endif /* !defined(__GTK_DOC_IGNORE__) */
-
/* virtual methods */
gint mcp_account_storage_priority (const McpAccountStorage *storage);