[gthumb] Purged some unused gnome-vfs references
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Purged some unused gnome-vfs references
- Date: Wed, 17 Jun 2009 15:07:29 -0400 (EDT)
commit 2ecd6dff65b382c3990ef9cf75bb8583337366da
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Wed Jun 17 15:07:08 2009 -0400
Purged some unused gnome-vfs references
libgthumb/thumb-loader.h | 1 -
src/catalog-png-exporter.c | 6 ++----
src/catalog-png-exporter.h | 4 ----
src/gth-dir-list.h | 3 +--
4 files changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/libgthumb/thumb-loader.h b/libgthumb/thumb-loader.h
index d9c0b38..98c5925 100644
--- a/libgthumb/thumb-loader.h
+++ b/libgthumb/thumb-loader.h
@@ -25,7 +25,6 @@
#include <gdk/gdk.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <libgnomevfs/gnome-vfs-uri.h>
#include "image-loader.h"
#include "file-data.h"
diff --git a/src/catalog-png-exporter.c b/src/catalog-png-exporter.c
index 995f017..5c04674 100644
--- a/src/catalog-png-exporter.c
+++ b/src/catalog-png-exporter.c
@@ -408,7 +408,6 @@ catalog_png_exporter_init (CatalogPngExporter *ce)
ce->pages_height = NULL;
ce->write_image_map = FALSE;
- ce->imap_handle = NULL;
ce->imap_uri = NULL;
ce->info = NULL;
@@ -1604,7 +1603,6 @@ begin_page (CatalogPngExporter *ce,
g_free (ce->imap_uri);
ce->imap_uri = NULL;
- ce->imap_handle = NULL;
name = _g_get_name_from_template (ce->templatev, ce->start_at + page_n - 1);
ce->imap_uri = g_strconcat (ce->location, "/", name, ".html", NULL);
@@ -1686,7 +1684,7 @@ end_page (CatalogPngExporter *ce,
/* image map file. */
- if (! ce->write_image_map || (ce->imap_handle == NULL))
+ if (! ce->write_image_map)
return;
line = g_strdup_printf ("</map>\n");
@@ -1779,7 +1777,7 @@ paint_frame (CatalogPngExporter *ce,
/* image map file. */
- if (! ce->write_image_map || (ce->imap_handle == NULL))
+ if (! ce->write_image_map)
return;
dest_dir = remove_special_dirs_from_path (ce->location);
diff --git a/src/catalog-png-exporter.h b/src/catalog-png-exporter.h
index 5d87d09..f2943e4 100644
--- a/src/catalog-png-exporter.h
+++ b/src/catalog-png-exporter.h
@@ -27,8 +27,6 @@
#include <gdk/gdk.h>
#include <gtk/gtk.h> /* for GtkSortType */
#include <gio/gio.h>
-#include <libgnomevfs/gnome-vfs-file-size.h>
-#include <libgnomevfs/gnome-vfs-handle.h>
#include "image-loader.h"
#include "typedefs.h"
@@ -132,8 +130,6 @@ struct _CatalogPngExporter {
char *imap_uri;
GFile *imap_gfile; /* GFile parent of OutputStream below */
GFileOutputStream *ostream; /* Output stream to handle partial file writing */
- GnomeVFSHandle *imap_handle; /* handle to write image map
- * files. */
gboolean exporting;
gboolean interrupted;
diff --git a/src/gth-dir-list.h b/src/gth-dir-list.h
index a1fe4be..0f7d89b 100644
--- a/src/gth-dir-list.h
+++ b/src/gth-dir-list.h
@@ -24,7 +24,6 @@
#define DIR_LIST_H
#include <gtk/gtk.h>
-#include <libgnomevfs/gnome-vfs-types.h>
#include "file-utils.h" /* for PathListHandle */
#define GTH_TYPE_DIR_LIST (gth_dir_list_get_type ())
@@ -65,7 +64,7 @@ struct _GthDirListClass {
void (*started) (GthDirList *dir_list);
void (*done) (GthDirList *dir_list,
- GnomeVFSResult result);
+ GError *error);
};
GType gth_dir_list_get_type (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]