]> git.0d.be Git - empathy.git/blobdiff - src/empathy-import-mc4-accounts.c
Add api to ask if we have importer our mc4 accounts
[empathy.git] / src / empathy-import-mc4-accounts.c
index 5425b35cd40b9912b1efa784a357eff667a198f9..27dd949568b35274c1f19e685f82c7848aa78a3f 100644 (file)
@@ -368,6 +368,20 @@ failed:
   goto out;
 }
 
+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)
 {