diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-10-28 13:42:55 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2016-10-28 15:56:36 +0800 |
commit | fcecec1a9da0188805888e87b7e5db5d79897af4 (patch) | |
tree | e620d3703cdccae7128de498ead15dce2d2fd127 /gdk/win32/gdkwindow-win32.c | |
parent | 45c0379f873e33f6ac072cd32bb7785b61a2f962 (diff) | |
download | gtk+-fcecec1a9da0188805888e87b7e5db5d79897af4.tar.gz |
GDK/Win32: Deal with leftovers from removal of GdkWindow items
We need to further remove items for the removal of:
-GdkWindow->depth (commit 6cc94ff)
-gdk_window_get_visual()/GdkWindow->visual (commit f420dc7)
-GDK visual query APIs (commit 45c0379)
https://bugzilla.gnome.org/show_bug.cgi?id=773299
Diffstat (limited to 'gdk/win32/gdkwindow-win32.c')
-rw-r--r-- | gdk/win32/gdkwindow-win32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c index c0ba2bcd59..0b189a54ba 100644 --- a/gdk/win32/gdkwindow-win32.c +++ b/gdk/win32/gdkwindow-win32.c @@ -953,7 +953,6 @@ gdk_win32_window_foreign_new_for_display (GdkDisplay *display, return g_object_ref (window); window = _gdk_display_create_window (display); - window->visual = gdk_screen_get_system_visual (gdk_display_get_default_screen (display)); window->impl = g_object_new (GDK_TYPE_WINDOW_IMPL_WIN32, NULL); window->impl_window = window; impl = GDK_WINDOW_IMPL_WIN32 (window->impl); @@ -992,7 +991,6 @@ gdk_win32_window_foreign_new_for_display (GdkDisplay *display, window->state &= (~GDK_WINDOW_STATE_BELOW); window->viewable = TRUE; - window->depth = gdk_visual_get_system ()->depth; GDK_WINDOW_HWND (window) = anid; g_object_ref (window); |