2007-06-18 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Mon, 18 Jun 2007 14:41:16 +0000 (14:41 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 18 Jun 2007 14:41:16 +0000 (14:41 +0000)
* src/maemo/modest-platform.c: (modest_platform_activate_uri):
        Fix the build, but leave the function broken on Bora, because
        hildon_uri_action_get_service() does not exist.
        osso_uri_action_get_service() does not exist either, it seems.

pmo-trunk-r2286

ChangeLog2
src/maemo/modest-platform.c

index ffecc3b..536e805 100644 (file)
@@ -1,5 +1,12 @@
 2007-06-18  Murray Cumming  <murrayc@murrayc.com>
 
+       * src/maemo/modest-platform.c: (modest_platform_activate_uri):
+       Fix the build, but leave the function broken on Bora, because
+       hildon_uri_action_get_service() does not exist. 
+       osso_uri_action_get_service() does not exist either, it seems.
+
+2007-06-18  Murray Cumming  <murrayc@murrayc.com>
+
        * src/modest-tny-account.c:
        (modest_tny_account_new_from_server_account):
        Uncommented the url debug output again, because it is useful for 
index 85c2833..1f9c1ea 100644 (file)
@@ -241,7 +241,8 @@ modest_platform_activate_uri (const gchar *uri)
        
        for (iter = actions; iter; iter = g_slist_next (iter)) {
                action = (OssoURIAction*) iter->data;
-               if (action && strcmp (hildon_uri_action_get_service (action), "com.nokia.modest") == 0) {
+               const gchar* service = NULL; /* TODO: hildon_uri_action_get_service (action); */
+               if (action && service && strcmp (service, "com.nokia.modest") == 0) {
                        GError *err = NULL;
                        result = osso_uri_open (uri, action, &err);
                        if (!result && err) {