summaryrefslogtreecommitdiff
path: root/gtk/gtklinkbutton.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtklinkbutton.c')
-rw-r--r--gtk/gtklinkbutton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtklinkbutton.c b/gtk/gtklinkbutton.c
index 3c97a3e111..837d4ecda9 100644
--- a/gtk/gtklinkbutton.c
+++ b/gtk/gtklinkbutton.c
@@ -67,6 +67,7 @@
#include "gtktooltip.h"
#include "gtkprivate.h"
#include "gtkintl.h"
+#include "gtkwidgetprivate.h"
#include "a11y/gtklinkbuttonaccessible.h"
@@ -324,8 +325,7 @@ set_hand_cursor (GtkWidget *widget,
if (show_hand)
cursor = gdk_cursor_new_from_name (display, "pointer");
- gdk_window_set_cursor (gtk_widget_get_window (widget), cursor);
- gdk_display_flush (display);
+ gtk_widget_set_cursor (widget, cursor);
if (cursor)
g_object_unref (cursor);