aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-import-mc4-accounts.c14
-rw-r--r--src/empathy-import-mc4-accounts.h1
2 files changed, 15 insertions, 0 deletions
diff --git a/src/empathy-import-mc4-accounts.c b/src/empathy-import-mc4-accounts.c
index 5425b35cd..27dd94956 100644
--- a/src/empathy-import-mc4-accounts.c
+++ b/src/empathy-import-mc4-accounts.c
@@ -369,6 +369,20 @@ failed:
}
gboolean
+empathy_import_mc4_has_imported (void)
+{
+ GConfClient *client;
+ gboolean ret;
+
+ client = gconf_client_get_default ();
+
+ ret = gconf_client_get_bool (client, IMPORTED_MC4_ACCOUNTS, NULL);
+ g_object_unref (client);
+
+ return ret;
+}
+
+gboolean
empathy_import_mc4_accounts (EmpathyConnectionManagers *managers)
{
GConfClient *client;
diff --git a/src/empathy-import-mc4-accounts.h b/src/empathy-import-mc4-accounts.h
index c30b4e505..98fb86916 100644
--- a/src/empathy-import-mc4-accounts.h
+++ b/src/empathy-import-mc4-accounts.h
@@ -27,6 +27,7 @@ G_BEGIN_DECLS
#include <libempathy/empathy-connection-managers.h>
gboolean empathy_import_mc4_accounts (EmpathyConnectionManagers *managers);
+gboolean empathy_import_mc4_has_imported (void);
G_END_DECLS