summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/panels/glance.c2
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));
}