diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gtkext/gtkbinarystrip.c | 2 | ||||
-rw-r--r-- | src/gtkext/gtkgraphdisplay.c | 2 | ||||
-rw-r--r-- | src/gui/panels/glance.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gtkext/gtkbinarystrip.c b/src/gtkext/gtkbinarystrip.c index bc5a6ec..aedeab3 100644 --- a/src/gtkext/gtkbinarystrip.c +++ b/src/gtkext/gtkbinarystrip.c @@ -185,7 +185,7 @@ static void gtk_binary_strip_realize(GtkWidget *widget) GTK_WIDGET_CLASS(gtk_binary_strip_parent_class)->realize(widget); - cursor = gdk_cursor_new(GDK_HAND1); + cursor = gdk_cursor_new_for_display(gdk_display_get_default(), GDK_HAND1); gdk_window_set_cursor(gtk_widget_get_window(widget), cursor); g_object_unref(cursor); diff --git a/src/gtkext/gtkgraphdisplay.c b/src/gtkext/gtkgraphdisplay.c index ee3853f..1d88e42 100644 --- a/src/gtkext/gtkgraphdisplay.c +++ b/src/gtkext/gtkgraphdisplay.c @@ -509,7 +509,7 @@ static gboolean gtk_graph_display_button_press(GtkWidget *widget, GdkEventButton display->ref_h = gtk_adjustment_get_value(hadj); display->ref_v = gtk_adjustment_get_value(vadj); - 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)); 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)); } |