A couple of minor fixes, not worth any ChangeLog entry (?).

This commit is contained in:
Tor Lillqvist 1999-08-06 19:13:08 +00:00
parent e8f8e0d484
commit 0775c02e08
5 changed files with 5 additions and 2 deletions

View File

@ -207,7 +207,7 @@ gdk_pixmap_new (GdkWindow *window,
}
if ((private->xwindow =
CreateDIBSection (hdc, (BITMAPINFO *) &bmi,
iUsage, &bits, NULL, 0)) == NULL)
iUsage, (PVOID *) &bits, NULL, 0)) == NULL)
{
g_warning ("gdk_pixmap_new: CreateDIBSection failed: %d", GetLastError ());
ReleaseDC (window_private->xwindow, hdc);

View File

@ -207,7 +207,7 @@ gdk_pixmap_new (GdkWindow *window,
}
if ((private->xwindow =
CreateDIBSection (hdc, (BITMAPINFO *) &bmi,
iUsage, &bits, NULL, 0)) == NULL)
iUsage, (PVOID *) &bits, NULL, 0)) == NULL)
{
g_warning ("gdk_pixmap_new: CreateDIBSection failed: %d", GetLastError ());
ReleaseDC (window_private->xwindow, hdc);

View File

@ -31,6 +31,7 @@
#include <stdio.h>
#include <gdk/gdk.h>
#include "gdkprivate.h"
#include "gdkinput.h"
/* The Win API function AdjustWindowRect may return negative values
* resulting in obscured title bars. This helper function is coreccting it.

View File

@ -31,6 +31,7 @@
#include <stdio.h>
#include <gdk/gdk.h>
#include "gdkprivate.h"
#include "gdkinput.h"
/* The Win API function AdjustWindowRect may return negative values
* resulting in obscured title bars. This helper function is coreccting it.

View File

@ -958,6 +958,7 @@ EXPORTS
gtk_rc_get_default_files
gtk_rc_get_style
gtk_rc_init
gtk_rc_load_image
gtk_rc_parse
gtk_rc_parse_color
gtk_rc_parse_priority