diff options
author | Sven Neumann <sven@convergence.de> | 2001-05-03 09:38:07 +0000 |
---|---|---|
committer | Sven Neumann <neo@src.gnome.org> | 2001-05-03 09:38:07 +0000 |
commit | d0d9f6449a90a513d8f3b9c50e60f92e975fa2ff (patch) | |
tree | 87e43d2a4801d37ad5983a0396c4aa96362c38c8 /demos/testpixbuf-save.c | |
parent | ff73253c8dddcf5bc7de1ccdffe00ac296e6ea20 (diff) | |
download | gtk+-d0d9f6449a90a513d8f3b9c50e60f92e975fa2ff.tar.gz |
include target-specific headers as done in testpixbuf-drawable.c
2001-05-03 Sven Neumann <sven@convergence.de>
* demos/testpixbuf-save.c: include target-specific headers as
done in testpixbuf-drawable.c
Diffstat (limited to 'demos/testpixbuf-save.c')
-rw-r--r-- | demos/testpixbuf-save.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/demos/testpixbuf-save.c b/demos/testpixbuf-save.c index a97fd95858..ce45a8c6c8 100644 --- a/demos/testpixbuf-save.c +++ b/demos/testpixbuf-save.c @@ -1,10 +1,15 @@ -#include <config.h> -/* if building outside GTK, remove /x11 part */ -#include <gdk/x11/gdkx.h> -#include <gtk/gtk.h> +#include "config.h" #include <stdio.h> +#include <gtk/gtk.h> + +#ifdef GDK_WINDOWING_X11 +#include <gdk/x11/gdkx.h> +#elif defined (GDK_WINDOWING_WIN32) +#include <gdk/win32/gdkwin32.h> +#endif + void keypress_check (GtkWidget *widget, GdkEventKey *evt, gpointer data) |