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.
This commit is contained in:

committed by
Michael Natterer

parent
d765998230
commit
5f6fd78fd5
@ -23,8 +23,6 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/* #define ENABLE_FILE_SYSTEM_ICONS 1 */
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#ifdef ENABLE_FILE_SYSTEM_ICONS
|
||||
#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
|
||||
@ -96,7 +94,9 @@ gimp_preview_renderer_imagefile_class_init (GimpPreviewRendererImagefileClass *k
|
||||
static void
|
||||
gimp_preview_renderer_imagefile_init (GimpPreviewRendererImagefile *renderer)
|
||||
{
|
||||
#ifdef ENABLE_FILE_SYSTEM_ICONS
|
||||
renderer->file_system = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -23,8 +23,6 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
/* #define ENABLE_FILE_SYSTEM_ICONS 1 */
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#ifdef ENABLE_FILE_SYSTEM_ICONS
|
||||
#define GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED
|
||||
@ -96,7 +94,9 @@ gimp_preview_renderer_imagefile_class_init (GimpPreviewRendererImagefileClass *k
|
||||
static void
|
||||
gimp_preview_renderer_imagefile_init (GimpPreviewRendererImagefile *renderer)
|
||||
{
|
||||
#ifdef ENABLE_FILE_SYSTEM_ICONS
|
||||
renderer->file_system = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user