diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-03 23:19:22 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-04 00:07:13 +0100 |
commit | 9323d098a6b80b396272ef9a1649218fbdced13b (patch) | |
tree | 2e6ee72e50d59e4d8e0faad7ecb7cd967a90a857 /gdk/gdkwindow.c | |
parent | e2996732b9ede9a0fb9e43e1ef2d468efd0021ae (diff) | |
download | gtk+-9323d098a6b80b396272ef9a1649218fbdced13b.tar.gz |
gdk: Cursors no longer have a display
Change constructors to reflect that.
While doing so, also add a fallback argument to the cursor constructors,
so it is now possible to create cursors with fallback.
Diffstat (limited to 'gdk/gdkwindow.c')
-rw-r--r-- | gdk/gdkwindow.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 8c1e13e81f..c7c2f40d5b 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -4248,7 +4248,6 @@ gdk_window_set_cursor_internal (GdkWindow *window, return; g_assert (gdk_window_get_display (window) == gdk_device_get_display (device)); - g_assert (!cursor || gdk_window_get_display (window) == gdk_cursor_get_display (cursor)); if (window->window_type == GDK_WINDOW_ROOT || window->window_type == GDK_WINDOW_FOREIGN) |