[gtk+] broadway: Don't crash on startup
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] broadway: Don't crash on startup
- Date: Fri, 3 Nov 2017 23:26:00 +0000 (UTC)
commit 0cad0caf7dcdc29955ed7dde644a762d2f327d7f
Author: Benjamin Otte <otte redhat com>
Date: Fri Nov 3 01:55:01 2017 +0100
broadway: Don't crash on startup
gdk/broadway/gdkwindow-broadway.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/broadway/gdkwindow-broadway.c b/gdk/broadway/gdkwindow-broadway.c
index 46fc891..f79ae81 100644
--- a/gdk/broadway/gdkwindow-broadway.c
+++ b/gdk/broadway/gdkwindow-broadway.c
@@ -197,7 +197,7 @@ _gdk_broadway_display_init_root_window (GdkDisplay *display)
g_assert (broadway_display->root_window == NULL);
- broadway_display->root_window = g_object_new (GDK_TYPE_BROADWAY_WINDOW, NULL);
+ broadway_display->root_window = _gdk_display_create_window (display);
window = broadway_display->root_window;
window->impl = g_object_new (GDK_TYPE_WINDOW_IMPL_BROADWAY, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]