]> Pileus Git - ~andy/gtk/commitdiff
put back the #define, but call it GDK_PIXBUF_C_COMPILATION.
authorMichael Natterer <mitch@imendio.com>
Tue, 27 May 2008 12:50:45 +0000 (12:50 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 27 May 2008 12:50:45 +0000 (12:50 +0000)
2008-05-27  Michael Natterer  <mitch@imendio.com>

* gdk-pixbuf.c: put back the #define, but call it
GDK_PIXBUF_C_COMPILATION.

* gdk-pixbuf-features.h.in: make variable export depend on that
define instead of GDK_PIXBUF_COMPILATION.

svn path=/trunk/; revision=20189

gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-features.h.in
gdk-pixbuf/gdk-pixbuf.c

index be06ecf75ee8ec48dc90064d141a53be38bc073b..9753b11221559d013aa77566a2aab84bcf411e61 100644 (file)
@@ -1,3 +1,11 @@
+2008-05-27  Michael Natterer  <mitch@imendio.com>
+
+       * gdk-pixbuf.c: put back the #define, but call it
+       GDK_PIXBUF_C_COMPILATION.
+
+       * gdk-pixbuf-features.h.in: make variable export depend on that
+       define instead of GDK_PIXBUF_COMPILATION.
+
 2008-05-27  Michael Natterer  <mitch@imendio.com>
 
        Fix and simplify definition of GDK_PIXBUF_VAR:
index e1e28f95e856ac05a479600f235ef30f030eb466..40f946a117adf4f9ece0a4d8ba3dbea81fbaf98c 100644 (file)
 #  ifdef GDK_PIXBUF_STATIC_COMPILATION
 #    define GDK_PIXBUF_VAR extern
 #  else /* !GDK_PIXBUF_STATIC_COMPILATION */
-#    ifdef GDK_PIXBUF_COMPILATION
+#    ifdef GDK_PIXBUF_C_COMPILATION
 #      ifdef DLL_EXPORT
 #        define GDK_PIXBUF_VAR __declspec(dllexport)
 #      else /* !DLL_EXPORT */
 #        define GDK_PIXBUF_VAR extern
 #      endif /* !DLL_EXPORT */
-#    else /* !GDK_PIXBUF_COMPILATION */
+#    else /* !GDK_PIXBUF_C_COMPILATION */
 #      define GDK_PIXBUF_VAR extern __declspec(dllimport)
-#    endif /* !GDK_PIXBUF_COMPILATION */
+#    endif /* !GDK_PIXBUF_C_COMPILATION */
 #  endif /* !GDK_PIXBUF_STATIC_COMPILATION */
 #else /* !G_PLATFORM_WIN32 */
 #  define GDK_PIXBUF_VAR extern
index 6aaffcd977a52df703a8dfbdd3e0e3c58f8e9a50..5fc1ca3fb8f67d92d2afd915f597581706a4137b 100644 (file)
@@ -27,6 +27,7 @@
 #include <math.h>
 #include <stdlib.h>
 #include <string.h>
+#define GDK_PIXBUF_C_COMPILATION
 #include "gdk-pixbuf.h"
 #include "gdk-pixbuf-private.h"
 /* Include the marshallers */