Refactor mcc parsing code
[modest] / src / hildon2 / modest-platform.c
index e8fc6a8..a178366 100644 (file)
@@ -39,6 +39,7 @@
 #include "modest-widget-memory.h"
 #include <modest-hildon-includes.h>
 #include <modest-maemo-utils.h>
+#include <modest-utils.h>
 #include <dbus_api/modest-dbus-callbacks.h>
 #include <modest-osso-autosave-callbacks.h>
 #include <libosso.h>
@@ -132,7 +133,7 @@ on_modest_conf_update_interval_changed (ModestConf* self,
 static gboolean
 check_required_files (void)
 {
-       FILE *mcc_file = modest_maemo_open_mcc_mapping_file (NULL);
+       FILE *mcc_file = modest_utils_open_mcc_mapping_file (NULL);
        if (!mcc_file) {
                g_printerr ("modest: check for mcc file failed\n");
                return FALSE;