summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-link.c')
-rw-r--r--libcaja-private/caja-link.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcaja-private/caja-link.c b/libcaja-private/caja-link.c
index 232ee213..d0677731 100644
--- a/libcaja-private/caja-link.c
+++ b/libcaja-private/caja-link.c
@@ -197,7 +197,8 @@ caja_link_local_create (const char *directory_uri,
const char *target_uri,
const GdkPoint *point,
int screen,
- gboolean unique_filename)
+ gboolean unique_filename,
+ GError **error)
{
char *real_directory_uri;
char *contents;
@@ -274,7 +275,7 @@ caja_link_local_create (const char *directory_uri,
contents, strlen (contents),
NULL, FALSE,
G_FILE_CREATE_NONE,
- NULL, NULL, NULL))
+ NULL, NULL, error))
{
g_free (contents);
g_object_unref (file);