diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-08-21 08:15:09 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-08-21 08:15:09 (GMT) |
commit | 62eb3b9716f4d3ecbb7727c7a01c0564129f0111 (patch) | |
tree | 400ab0cff527b5dab7c86800792444b038ef5514 /src/gui | |
parent | 3c5b02bde6754f2db27a8b413739711396690e1c (diff) |
Changed cursors using up-to-date GDK functions.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/panels/glance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/panels/glance.c b/src/gui/panels/glance.c index 519bc33..27d3b46 100644 --- a/src/gui/panels/glance.c +++ b/src/gui/panels/glance.c @@ -726,7 +726,7 @@ static gboolean on_button_press_over_glance(GtkWidget *widget, GdkEventButton *e if (panel->valid) { - cursor = gdk_cursor_new(GDK_FLEUR); + cursor = gdk_cursor_new_for_display(gdk_display_get_default(), GDK_FLEUR); gdk_window_set_cursor(gtk_widget_get_window(widget), cursor); g_object_unref(G_OBJECT(cursor)); } |