summaryrefslogtreecommitdiff
path: root/gdk/win32/gdksurface-win32.c
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2018-03-24 19:33:14 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2018-03-29 17:44:00 +0000
commit8519dbf1b68e3e03c75ba0002f50c07355e262c0 (patch)
tree2cbce03c2b6bb8e654ff26d1a8aeda46fea69547 /gdk/win32/gdksurface-win32.c
parentd1d94b86304136071bb38933bb77e2c7b5130593 (diff)
downloadgtk+-8519dbf1b68e3e03c75ba0002f50c07355e262c0.tar.gz
GDK W32: Adapt to the window->surface change
https://bugzilla.gnome.org/show_bug.cgi?id=773299
Diffstat (limited to 'gdk/win32/gdksurface-win32.c')
-rw-r--r--gdk/win32/gdksurface-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index 1a7b34ca75..faee484110 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -915,7 +915,7 @@ gdk_win32_surface_foreign_new_for_display (GdkDisplay *display,
if ((window = gdk_win32_surface_lookup_for_display (display, anid)) != NULL)
return g_object_ref (window);
- window = _gdk_display_create_window (display);
+ window = _gdk_display_create_surface (display);
window->impl = g_object_new (GDK_TYPE_SURFACE_IMPL_WIN32, NULL);
window->impl_surface = window;
impl = GDK_SURFACE_IMPL_WIN32 (window->impl);