[gtk/wip/matthiasc/popup5: 185/187] win32: Set surface type early enough
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 185/187] win32: Set surface type early enough
- Date: Thu, 23 May 2019 11:09:06 +0000 (UTC)
commit 5aaa61c109b586a8115ef2139fa3d47d42661216
Author: Matthias Clasen <mclasen redhat com>
Date: Wed May 22 22:40:27 2019 +0000
win32: Set surface type early enough
We need to set the surface type before
the frame clock.
gdk/win32/gdksurface-win32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index c0eeddfeee..e8df18b566 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -509,13 +509,13 @@ _gdk_win32_display_create_surface (GdkDisplay *display,
frame_clock = _gdk_frame_clock_idle_new ();
impl = g_object_new (GDK_TYPE_WIN32_SURFACE,
+ "surface-type", surface_type,
"display", display,
"parent", parent,
"frame-clock", frame_clock,
NULL);
surface = GDK_SURFACE (impl);
- surface->surface_type = surface_type;
surface->x = x;
surface->y = y;
surface->width = width;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]