diff options
author | Wolfgang Ulbrich <chat-to-me@raveit.de> | 2016-02-08 17:56:28 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <chat-to-me@raveit.de> | 2016-02-12 07:04:30 +0100 |
commit | 217ce17fff3e4eb3670a03c3d48771a03bf3f9d9 (patch) | |
tree | 039635cef825eb633d295d834d0b881af439863f /mate-panel/panel-force-quit.c | |
parent | f96389e674b83aa89e9ed943120fe5c0390626b7 (diff) | |
download | mate-panel-217ce17fff3e4eb3670a03c3d48771a03bf3f9d9.tar.bz2 mate-panel-217ce17fff3e4eb3670a03c3d48771a03bf3f9d9.tar.xz |
do not use deprecated gdk_cursor_new, use
gdk_cursor_new_for_display for both GTK versions
Diffstat (limited to 'mate-panel/panel-force-quit.c')
-rw-r--r-- | mate-panel/panel-force-quit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-force-quit.c b/mate-panel/panel-force-quit.c index e8832214..842922b2 100644 --- a/mate-panel/panel-force-quit.c +++ b/mate-panel/panel-force-quit.c @@ -350,8 +350,8 @@ panel_force_quit (GdkScreen *screen, root = gdk_screen_get_root_window (screen); gdk_window_add_filter (root, (GdkFilterFunc) popup_filter, popup); - - cross = gdk_cursor_new (GDK_CROSS); + cross = gdk_cursor_new_for_display (gdk_display_get_default (), + GDK_CROSS); #if GTK_CHECK_VERSION (3, 0, 0) display = gdk_window_get_display (root); device_manager = gdk_display_get_device_manager (display); |