mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 22:52:09 +01:00
Make new strings reuse old ones.
2008-02-25 Alexander Larsson <alexl@redhat.com> * glocalfile.c: Make new strings reuse old ones. svn path=/trunk/; revision=6581
This commit is contained in:
parent
96b70c129a
commit
493cbfa607
@ -1,3 +1,8 @@
|
|||||||
|
2008-02-25 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* glocalfile.c:
|
||||||
|
Make new strings reuse old ones.
|
||||||
|
|
||||||
2008-02-25 Alexander Larsson <alexl@redhat.com>
|
2008-02-25 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* glocalfile.c:
|
* glocalfile.c:
|
||||||
|
@ -1853,14 +1853,14 @@ g_local_file_trash (GFile *file,
|
|||||||
g_set_error (error, G_IO_ERROR,
|
g_set_error (error, G_IO_ERROR,
|
||||||
G_IO_ERROR_CANCELLED,
|
G_IO_ERROR_CANCELLED,
|
||||||
_("Unable to trash file: %s"),
|
_("Unable to trash file: %s"),
|
||||||
_("cancelled"));
|
_("Operation was cancelled"));
|
||||||
success = FALSE;
|
success = FALSE;
|
||||||
}
|
}
|
||||||
else if (!success)
|
else if (!success)
|
||||||
g_set_error (error, G_IO_ERROR,
|
g_set_error (error, G_IO_ERROR,
|
||||||
G_IO_ERROR_FAILED,
|
G_IO_ERROR_FAILED,
|
||||||
_("Unable to trash file: %s"),
|
_("Unable to trash file: %s"),
|
||||||
_("failed"));
|
_("internal error"));
|
||||||
|
|
||||||
g_free (wfilename);
|
g_free (wfilename);
|
||||||
return success;
|
return success;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user