win32: Support autolaunching dbus daemon
[platform/upstream/glib.git] / gio / glib-compile-resources.c
index 9d54eec..31e5624 100644 (file)
@@ -184,6 +184,9 @@ find_file (const gchar *filename)
   gchar *real_file;
   gboolean exists;
 
+  if (g_path_is_absolute (filename))
+    return g_strdup (filename);
+
   /* search all the sourcedirs for the correct files in order */
   for (i = 0; sourcedirs[i] != NULL; i++)
     {
@@ -284,7 +287,7 @@ end_element (GMarkupParseContext  *context,
               else
                 {
                   g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_INVALID_CONTENT,
-                               _("Unknown proprocessing options \"%s\""), options[i]);
+                               _("Unknown processing option \"%s\""), options[i]);
                   g_strfreev (options);
                   goto cleanup;
                 }