summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-06-15 17:13:21 +0000
committerVincent Untz <vuntz@src.gnome.org>2007-06-15 17:13:21 +0000
commit4475d68e110a9e5e08748ed95d6292c5bc1733d3 (patch)
tree50717854e804762d3bb2f62272e7a123dd7f1aaf
parent68429883ae49fb79e8ecb55492107232476ef700 (diff)
downloadlibwnck-4475d68e110a9e5e08748ed95d6292c5bc1733d3.tar.gz
improve relative position of the drag icon. Fix bug #446531
2007-06-15 Vincent Untz <vuntz@gnome.org> * libwnck/pager.c: (wnck_update_drag_icon): improve relative position of the drag icon. Fix bug #446531 svn path=/trunk/; revision=1312
-rw-r--r--ChangeLog5
-rw-r--r--libwnck/pager.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ef5b927..c3d6878 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-06-15 Vincent Untz <vuntz@gnome.org>
+ * libwnck/pager.c: (wnck_update_drag_icon): improve relative position
+ of the drag icon. Fix bug #446531
+
+2007-06-15 Vincent Untz <vuntz@gnome.org>
+
Add lots of g_return_if_fail() and g_return_val_if_fail() for our
public API.
diff --git a/libwnck/pager.c b/libwnck/pager.c
index 7036244..af16ef7 100644
--- a/libwnck/pager.c
+++ b/libwnck/pager.c
@@ -1495,7 +1495,7 @@ wnck_update_drag_icon (WnckWindow *window,
gtk_drag_set_icon_pixmap (context,
gdk_drawable_get_colormap (GDK_DRAWABLE (pixmap)),
pixmap, NULL,
- rect.width / 4, 0);
+ -2, -2);
g_object_unref (pixmap);
}