mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 21:40:19 +00:00
A couple of minor fixes, not worth any ChangeLog entry (?).
This commit is contained in:
parent
e8f8e0d484
commit
0775c02e08
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user