[libcloudproviders/wip/rename-exporter] 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] cloudproviderexporter: remove old api from header
- Date: Sun, 3 Sep 2017 12:48:10 +0000 (UTC)
commit 9456b0d84a6d082c55c7b7aaaef8b2b2ee3af233
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]