[gtk+] treeview: Fix row drag icon offsets
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Fix row drag icon offsets
- Date: Thu, 20 Jul 2017 02:00:06 +0000 (UTC)
commit 2c3ec495352d634478a4664ae6f7775b5322463b
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]