Commit 5198408a authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

moved the (disabled) ENABLE_FILE_SYSTEM_ICONS from the .c to the .h file

2004-03-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppreviewrendererimagefile.[ch]: moved the
	(disabled) ENABLE_FILE_SYSTEM_ICONS from the .c to the .h file and
	#ifdef the "gpointer file_system" member with it.
parent 5f6fd78f
2004-03-03 Michael Natterer <mitch@gimp.org>
* app/widgets/gimppreviewrendererimagefile.[ch]: moved the
(disabled) ENABLE_FILE_SYSTEM_ICONS from the .c to the .h file and
#ifdef the "gpointer file_system" member with it.
2004-03-03 Simon Budig <simon@gimp.org>
* app/vectors/gimpvectors.c: fixed offset handling. Vectors
......@@ -24,10 +24,6 @@
#include <string.h>
#include <gtk/gtk.h>
#ifdef ENABLE_FILE_SYSTEM_ICONS
#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
#include <gtk/gtkfilesystem.h>
#endif
#include "libgimpthumb/gimpthumb.h"
#include "libgimpwidgets/gimpwidgets.h"
......@@ -40,6 +36,11 @@
#include "gimppreviewrendererimagefile.h"
#ifdef ENABLE_FILE_SYSTEM_ICONS
#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
#include <gtk/gtkfilesystem.h>
#endif
static void gimp_preview_renderer_imagefile_class_init (GimpPreviewRendererImagefileClass *klass);
static void gimp_preview_renderer_imagefile_init (GimpPreviewRendererImagefile *renderer);
......
......@@ -22,8 +22,12 @@
#ifndef __GIMP_PREVIEW_RENDERER_IMAGEFILE_H__
#define __GIMP_PREVIEW_RENDERER_IMAGEFILE_H__
#include "gimppreviewrenderer.h"
/* #define ENABLE_FILE_SYSTEM_ICONS 1 */
#define GIMP_TYPE_PREVIEW_RENDERER_IMAGEFILE (gimp_preview_renderer_imagefile_get_type ())
#define GIMP_PREVIEW_RENDERER_IMAGEFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_PREVIEW_RENDERER_IMAGEFILE, GimpPreviewRendererImagefile))
#define GIMP_PREVIEW_RENDERER_IMAGEFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_PREVIEW_RENDERER_IMAGEFILE, GimpPreviewRendererImagefileClass))
......@@ -38,7 +42,9 @@ struct _GimpPreviewRendererImagefile
{
GimpPreviewRenderer parent_instance;
#ifdef ENABLE_FILE_SYSTEM_ICONS
gpointer file_system;
#endif
};
struct _GimpPreviewRendererImagefileClass
......
......@@ -24,10 +24,6 @@
#include <string.h>
#include <gtk/gtk.h>
#ifdef ENABLE_FILE_SYSTEM_ICONS
#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
#include <gtk/gtkfilesystem.h>
#endif
#include "libgimpthumb/gimpthumb.h"
#include "libgimpwidgets/gimpwidgets.h"
......@@ -40,6 +36,11 @@
#include "gimppreviewrendererimagefile.h"
#ifdef ENABLE_FILE_SYSTEM_ICONS
#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
#include <gtk/gtkfilesystem.h>
#endif
static void gimp_preview_renderer_imagefile_class_init (GimpPreviewRendererImagefileClass *klass);
static void gimp_preview_renderer_imagefile_init (GimpPreviewRendererImagefile *renderer);
......
......@@ -22,8 +22,12 @@
#ifndef __GIMP_PREVIEW_RENDERER_IMAGEFILE_H__
#define __GIMP_PREVIEW_RENDERER_IMAGEFILE_H__
#include "gimppreviewrenderer.h"
/* #define ENABLE_FILE_SYSTEM_ICONS 1 */
#define GIMP_TYPE_PREVIEW_RENDERER_IMAGEFILE (gimp_preview_renderer_imagefile_get_type ())
#define GIMP_PREVIEW_RENDERER_IMAGEFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GIMP_TYPE_PREVIEW_RENDERER_IMAGEFILE, GimpPreviewRendererImagefile))
#define GIMP_PREVIEW_RENDERER_IMAGEFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GIMP_TYPE_PREVIEW_RENDERER_IMAGEFILE, GimpPreviewRendererImagefileClass))
......@@ -38,7 +42,9 @@ struct _GimpPreviewRendererImagefile
{
GimpPreviewRenderer parent_instance;
#ifdef ENABLE_FILE_SYSTEM_ICONS
gpointer file_system;
#endif
};
struct _GimpPreviewRendererImagefileClass
......
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