Commit ac800fa8 authored by Alexander Larsson's avatar Alexander Larsson

Fix GResourceFile get_parent()

This was erronously losing the last char.
parent 260a9cc2
......@@ -289,7 +289,7 @@ g_resource_file_get_parent (GFile *file)
parent = g_object_new (G_TYPE_RESOURCE_FILE, NULL);
parent->path = g_strndup (resource->path,
end - resource->path - 1);
end - resource->path);
return G_FILE (parent);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment