diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2018-03-24 19:33:14 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2018-03-29 17:44:00 +0000 |
commit | 8519dbf1b68e3e03c75ba0002f50c07355e262c0 (patch) | |
tree | 2cbce03c2b6bb8e654ff26d1a8aeda46fea69547 /gdk/win32/gdksurface-win32.c | |
parent | d1d94b86304136071bb38933bb77e2c7b5130593 (diff) | |
download | gtk+-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.c | 2 |
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); |