updated for win32 msvc build (forgot this before)

This commit is contained in:
Hans Breuer 2001-02-19 22:02:23 +00:00
parent c3aba35edf
commit 6fb6363e30
3 changed files with 3 additions and 3 deletions

View File

@ -928,7 +928,8 @@ gdk_win32_draw_image (GdkDrawable *drawable,
hdc = gdk_win32_hdc_get (drawable, gc, 0);
if (colormap_private && colormap_private->xcolormap->rc_palette)
if (image->visual->type == GDK_VISUAL_PSEUDO_COLOR &&
colormap_private && colormap_private->xcolormap->rc_palette)
{
if (!bmi_inited)
{

View File

@ -23,12 +23,10 @@
* files for a list of changes. These files are distributed with
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include <errno.h>

View File

@ -27,6 +27,7 @@
#include <stdlib.h>
#include "gdk.h" /* gdk_rectangle_intersect */
#include "gdkevents.h"
#include "gdkpixmap.h"
#include "gdkwindow.h"