[libcloudproviders/wip/rename-exporter: 9/9] cloudproviderexporter: remove old api from header
- From: Gitlab System User <gitlab src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libcloudproviders/wip/rename-exporter: 9/9] cloudproviderexporter: remove old api from header
- Date: Mon, 4 Sep 2017 06:45:09 +0000 (UTC)
commit 86fb6bd0fed3dcbf2ee489b2c5025198e402dd3b
Author: Julius Härtl <jus bitgrid net>
Date: Sun Sep 3 14:47:59 2017 +0200
cloudproviderexporter: remove old api from header
The old api required exporting generated headers which should not be done.
src/cloudprovideraccountexporter.h | 3 ---
src/cloudproviderexporter.c | 24 ++++++++++++++++++++++++
src/cloudproviderexporter.h | 22 ----------------------
3 files changed, 24 insertions(+), 25 deletions(-)
---
diff --git a/src/cloudprovideraccountexporter.h b/src/cloudprovideraccountexporter.h
index 37cbde0..b0b7ed4 100644
--- a/src/cloudprovideraccountexporter.h
+++ b/src/cloudprovideraccountexporter.h
@@ -45,9 +45,6 @@ struct _CloudProviderAccountExporter
GType
cloud_provider_account_exporter_get_type (void) G_GNUC_CONST;
-void
-cloud_provider_account_exporter_emit_changed (CloudProviderAccountExporter *cloud_provider_account);
-
CloudProviderAccountExporter*
cloud_provider_account_exporter_new (const gchar *account_object_name);
diff --git a/src/cloudproviderexporter.c b/src/cloudproviderexporter.c
index 6e98fa0..61eb4a3 100644
--- a/src/cloudproviderexporter.c
+++ b/src/cloudproviderexporter.c
@@ -35,6 +35,30 @@ typedef struct
G_DEFINE_TYPE_WITH_PRIVATE (CloudProviderExporter, cloud_provider_exporter, G_TYPE_OBJECT)
+
+void
+cloud_provider_exporter_export_account (CloudProviderExporter *cloud_provider_exporter,
+ const gchar *account_name,
+ CloudProviderAccount1 *account);
+void
+cloud_provider_exporter_unexport_account (CloudProviderExporter *cloud_provider_exporter,
+ const gchar *account_name);
+guint
+cloud_provider_exporter_export_menu (CloudProviderExporter *cloud_provider_exporter,
+ const gchar *account_name,
+ GMenuModel *model);
+void
+cloud_provider_exporter_unexport_menu (CloudProviderExporter *cloud_provider_exporter,
+ const gchar *account_name);
+guint
+cloud_provider_exporter_export_action_group (CloudProviderExporter *cloud_provider_exporter,
+ const gchar *account_name,
+ GActionGroup *action_group);
+void
+cloud_provider_exporter_unexport_action_group (CloudProviderExporter *cloud_provider_exporter,
+ const gchar *account_name);
+
+
/**
* SECTION:cloudproviderexporter
* @title: CloudProviderExporter
diff --git a/src/cloudproviderexporter.h b/src/cloudproviderexporter.h
index 3f7d5ec..761f608 100644
--- a/src/cloudproviderexporter.h
+++ b/src/cloudproviderexporter.h
@@ -19,7 +19,6 @@
#ifndef CLOUD_PROVIDER_EXPORTER_H
#define CLOUD_PROVIDER_EXPORTER_H
-#include "cloudprovider-generated.h"
/* for CloudProviderStatus enum */
#include "cloudprovideraccount.h"
#include "cloudprovideraccountexporter.h"
@@ -49,27 +48,6 @@ struct _CloudProviderExporter
GType
cloud_provider_exporter_get_type (void) G_GNUC_CONST;
-void
-cloud_provider_exporter_export_account (CloudProviderExporter *cloud_provider_exporter,
- const gchar *account_name,
- CloudProviderAccount1 *account);
-void
-cloud_provider_exporter_unexport_account (CloudProviderExporter *cloud_provider_exporter,
- const gchar *account_name);
-guint
-cloud_provider_exporter_export_menu (CloudProviderExporter *cloud_provider_exporter,
- const gchar *account_name,
- GMenuModel *model);
-void
-cloud_provider_exporter_unexport_menu (CloudProviderExporter *cloud_provider_exporter,
- const gchar *account_name);
-guint
-cloud_provider_exporter_export_action_group (CloudProviderExporter *cloud_provider_exporter,
- const gchar *account_name,
- GActionGroup *action_group);
-void
-cloud_provider_exporter_unexport_action_group (CloudProviderExporter *cloud_provider_exporter,
- const gchar *account_name);
void
cloud_provider_exporter_add_account (CloudProviderExporter *cloud_provider_exporter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]