eog r4675 - in trunk: . src
- From: friemann svn gnome org
- To: svn-commits-list gnome org
- Subject: eog r4675 - in trunk: . src
- Date: Sat, 9 Aug 2008 17:05:33 +0000 (UTC)
Author: friemann
Date: Sat Aug 9 17:05:33 2008
New Revision: 4675
URL: http://svn.gnome.org/viewvc/eog?rev=4675&view=rev
Log:
2008-08-09 Felix Riemann <friemann svn gnome org>
* src/eog-image.c: (eog_image_copy_file):
Remove unused file path variable. Stops leaking it.
Modified:
trunk/ChangeLog
trunk/src/eog-image.c
Modified: trunk/src/eog-image.c
==============================================================================
--- trunk/src/eog-image.c (original)
+++ trunk/src/eog-image.c Sat Aug 9 17:05:33 2008
@@ -1514,15 +1514,12 @@
static gboolean
eog_image_copy_file (EogImageSaveInfo *source, EogImageSaveInfo *target, GError **error)
{
- char *target_file_path;
gboolean result;
GError *ioerror;
g_return_val_if_fail (EOG_IS_IMAGE_SAVE_INFO (source), FALSE);
g_return_val_if_fail (EOG_IS_IMAGE_SAVE_INFO (target), FALSE);
- target_file_path = g_file_get_path (target->file);
-
result = g_file_copy (source->file,
target->file,
(target->overwrite ? G_FILE_COPY_OVERWRITE : 0) |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]