[gtk+/wip/baedert/drawing] treeview: Fix row drag icon offsets
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing] treeview: Fix row drag icon offsets
- Date: Sun, 16 Jul 2017 13:50:04 +0000 (UTC)
commit 867fc2bd9038e5b4c383a42e8425f485fbae80b5
Author: Timm Bäder <mail baedert org>
Date: Sun Jul 16 09:37:17 2017 +0200
treeview: Fix row drag icon offsets
gtk/gtktreeview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 5ea1618..1ac489b 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -7576,8 +7576,8 @@ gtk_tree_view_drag_begin (GtkWidget *widget,
path);
cairo_surface_set_device_offset (row_pix,
/* the + 1 is for the black border in the icon */
- - (tree_view->priv->press_start_x + 1),
- - (cell_y + 1));
+ tree_view->priv->press_start_x + 1,
+ 1);
gtk_drag_set_icon_surface (context, row_pix);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]