diff options
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index d3fb33dce9..f3d50ccc0f 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -1342,6 +1342,7 @@ _gtk_tree_view_column_realize_button (GtkTreeViewColumn *column) GdkWindowAttr attr; guint attributes_mask; gboolean rtl; + GdkDisplay *display; tree_view = (GtkTreeView *)priv->tree_view; rtl = (gtk_widget_get_direction (priv->tree_view) == GTK_TEXT_DIR_RTL); @@ -1362,8 +1363,8 @@ _gtk_tree_view_column_realize_button (GtkTreeViewColumn *column) GDK_POINTER_MOTION_MASK | GDK_KEY_PRESS_MASK); attributes_mask = GDK_WA_CURSOR | GDK_WA_X | GDK_WA_Y; - attr.cursor = gdk_cursor_new_for_display - (gdk_window_get_display (_gtk_tree_view_get_header_window (tree_view)), GDK_SB_H_DOUBLE_ARROW); + display = gdk_window_get_display (_gtk_tree_view_get_header_window (tree_view)); + attr.cursor = gdk_cursor_new_from_name (display, "col-resize"); attr.y = 0; attr.width = TREE_VIEW_DRAG_WIDTH; attr.height = _gtk_tree_view_get_header_height (tree_view); |