Commit e76a587d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

libgimpthumb/Makefile.am libgimpthumb/gimpthumb-enums.h

2003-11-26  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/Makefile.am
	* libgimpthumb/gimpthumb-enums.h
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: more changes, still unfinished.
parent c97d090d
2003-11-26 Sven Neumann <sven@gimp.org>
* libgimpthumb/Makefile.am
* libgimpthumb/gimpthumb-enums.h
* libgimpthumb/gimpthumb-utils.[ch]
* libgimpthumb/gimpthumbnail.[ch]: more changes, still unfinished.
2003-11-26 Michael Natterer <mitch@gimp.org>
* app/core/core-enums.[ch]: eek, it should be
......@@ -23,6 +23,7 @@ Enums and definitions.
@GIMP_ADD_WHITE_MASK:
@GIMP_ADD_BLACK_MASK:
@GIMP_ADD_ALPHA_MASK:
@GIMP_ADD_ALPHA_TRANSFER_MASK:
@GIMP_ADD_SELECTION_MASK:
@GIMP_ADD_COPY_MASK:
......
......@@ -68,6 +68,7 @@ libgimpthumbinclude_HEADERS = \
gimpthumb.h \
gimpthumb-enums.h \
gimpthumb-types.h \
gimpthumb-utils.h \
gimpthumbnail.h
libgimpthumb_1_3_la_LDFLAGS = \
......
......@@ -49,11 +49,9 @@ typedef enum
GIMP_THUMB_STATE_REMOTE,
GIMP_THUMB_STATE_NOT_FOUND,
GIMP_THUMB_STATE_EXISTS,
GIMP_THUMB_STATE_THUMBNAIL_NOT_FOUND,
GIMP_THUMB_STATE_THUMBNAIL_EXISTS,
GIMP_THUMB_STATE_THUMBNAIL_OLD,
GIMP_THUMB_STATE_THUMBNAIL_FAILED,
GIMP_THUMB_STATE_THUMBNAIL_OK
GIMP_THUMB_STATE_OLD,
GIMP_THUMB_STATE_FAILED,
GIMP_THUMB_STATE_OK
} GimpThumbState;
......
......@@ -150,8 +150,8 @@ gimp_thumb_png_thumb_name (const gchar *uri,
}
gchar *
gimp_thumbnail_find_png_thumb (const gchar *uri,
GimpThumbSize *size)
gimp_thumb_find_png_thumb (const gchar *uri,
GimpThumbSize *size)
{
const gchar *name;
gchar *thumb_name;
......
......@@ -28,17 +28,17 @@
G_BEGIN_DECLS
gboolean gimp_thumb_init (const gchar *creator,
const gchar *thumb_basedir);
gboolean gimp_thumb_init (const gchar *creator,
const gchar *thumb_basedir);
gchar * gimp_thumb_png_thumb_name (const gchar *uri,
GimpThumbSize *size);
gchar * gimp_thumbnail_find_png_thumb (const gchar *uri,
GimpThumbSize *size);
gchar * gimp_thumb_png_thumb_name (const gchar *uri,
GimpThumbSize *size);
gchar * gimp_thumb_find_png_thumb (const gchar *uri,
GimpThumbSize *size);
gboolean gimp_thumb_file_test (const gchar *filename,
gint64 *mtime,
gint64 *size);
gboolean gimp_thumb_file_test (const gchar *filename,
gint64 *mtime,
gint64 *size);
G_END_DECLS
......
This diff is collapsed.
......@@ -43,21 +43,20 @@ struct _GimpThumbnail
{
GObject parent_instance;
gchar *uri;
GimpThumbState state;
gchar *thumb_filename;
gint64 thumb_filesize;
gint64 thumb_mtime;
GimpThumbState image_state;
gchar *image_uri;
gchar *image_filename;
gint64 image_filesize;
gint64 image_mtime;
gint image_width;
gint image_height;
gchar *image_type;
gint image_num_layers;
GimpThumbState thumb_state;
gchar *thumb_filename;
gint64 thumb_filesize;
gint64 thumb_mtime;
};
struct _GimpThumbnailClass
......@@ -76,7 +75,6 @@ gboolean gimp_thumbnail_set_filename (GimpThumbnail *thumbnail,
const gchar *filename,
GError **error);
GimpThumbState gimp_thumbnail_get_state (GimpThumbnail *thumnail);
GdkPixbuf * gimp_thumbnail_get_pixbuf (GimpThumbnail *thumbnail,
GimpThumbSize size,
GError **error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment