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 =
|
if ((private->xwindow =
|
||||||
CreateDIBSection (hdc, (BITMAPINFO *) &bmi,
|
CreateDIBSection (hdc, (BITMAPINFO *) &bmi,
|
||||||
iUsage, &bits, NULL, 0)) == NULL)
|
iUsage, (PVOID *) &bits, NULL, 0)) == NULL)
|
||||||
{
|
{
|
||||||
g_warning ("gdk_pixmap_new: CreateDIBSection failed: %d", GetLastError ());
|
g_warning ("gdk_pixmap_new: CreateDIBSection failed: %d", GetLastError ());
|
||||||
ReleaseDC (window_private->xwindow, hdc);
|
ReleaseDC (window_private->xwindow, hdc);
|
||||||
|
@ -207,7 +207,7 @@ gdk_pixmap_new (GdkWindow *window,
|
|||||||
}
|
}
|
||||||
if ((private->xwindow =
|
if ((private->xwindow =
|
||||||
CreateDIBSection (hdc, (BITMAPINFO *) &bmi,
|
CreateDIBSection (hdc, (BITMAPINFO *) &bmi,
|
||||||
iUsage, &bits, NULL, 0)) == NULL)
|
iUsage, (PVOID *) &bits, NULL, 0)) == NULL)
|
||||||
{
|
{
|
||||||
g_warning ("gdk_pixmap_new: CreateDIBSection failed: %d", GetLastError ());
|
g_warning ("gdk_pixmap_new: CreateDIBSection failed: %d", GetLastError ());
|
||||||
ReleaseDC (window_private->xwindow, hdc);
|
ReleaseDC (window_private->xwindow, hdc);
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <gdk/gdk.h>
|
#include <gdk/gdk.h>
|
||||||
#include "gdkprivate.h"
|
#include "gdkprivate.h"
|
||||||
|
#include "gdkinput.h"
|
||||||
|
|
||||||
/* The Win API function AdjustWindowRect may return negative values
|
/* The Win API function AdjustWindowRect may return negative values
|
||||||
* resulting in obscured title bars. This helper function is coreccting it.
|
* resulting in obscured title bars. This helper function is coreccting it.
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <gdk/gdk.h>
|
#include <gdk/gdk.h>
|
||||||
#include "gdkprivate.h"
|
#include "gdkprivate.h"
|
||||||
|
#include "gdkinput.h"
|
||||||
|
|
||||||
/* The Win API function AdjustWindowRect may return negative values
|
/* The Win API function AdjustWindowRect may return negative values
|
||||||
* resulting in obscured title bars. This helper function is coreccting it.
|
* resulting in obscured title bars. This helper function is coreccting it.
|
||||||
|
@ -958,6 +958,7 @@ EXPORTS
|
|||||||
gtk_rc_get_default_files
|
gtk_rc_get_default_files
|
||||||
gtk_rc_get_style
|
gtk_rc_get_style
|
||||||
gtk_rc_init
|
gtk_rc_init
|
||||||
|
gtk_rc_load_image
|
||||||
gtk_rc_parse
|
gtk_rc_parse
|
||||||
gtk_rc_parse_color
|
gtk_rc_parse_color
|
||||||
gtk_rc_parse_priority
|
gtk_rc_parse_priority
|
||||||
|
Loading…
Reference in New Issue
Block a user