[gthumb] Purged gnomevfs remnants from gth-window-actions-callbacks.c
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Purged gnomevfs remnants from gth-window-actions-callbacks.c
- Date: Wed, 22 Apr 2009 19:29:38 -0400 (EDT)
commit 01af75a157b462d858d7aae87b10aaabf929f86c
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Wed Apr 22 19:26:55 2009 -0400
Purged gnomevfs remnants from gth-window-actions-callbacks.c
---
libgthumb/file-utils.c | 2 ++
src/gth-window-actions-callbacks.c | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/libgthumb/file-utils.c b/libgthumb/file-utils.c
index 7f1ddff..e411789 100644
--- a/libgthumb/file-utils.c
+++ b/libgthumb/file-utils.c
@@ -2342,6 +2342,8 @@ copy_file_async (const char *source_uri,
CopyDoneFunc done_func,
gpointer done_data)
{
+ /* TODO: copy_data->error is not set properly? */
+
CopyData *copy_data;
GList *source_uri_list, *target_uri_list;
GnomeVFSResult result;
diff --git a/src/gth-window-actions-callbacks.c b/src/gth-window-actions-callbacks.c
index d70a159..371ef0f 100644
--- a/src/gth-window-actions-callbacks.c
+++ b/src/gth-window-actions-callbacks.c
@@ -31,7 +31,6 @@
#include <libgnome/gnome-exec.h>
#include <libgnome/gnome-help.h>
#include <libgnome/gnome-url.h>
-#include <libgnomevfs/gnome-vfs-result.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include "async-pixbuf-ops.h"
@@ -729,7 +728,7 @@ set_wallpaper (GthWindow *window,
data->align = align;
if (is_local_file (image_path))
- set_wallpaper_step_2 (image_path, GNOME_VFS_OK, data);
+ set_wallpaper_step_2 (image_path, NULL, data);
else {
char *wallpaper_filename;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]