aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
authorVibha Yadav <yvibha@novell.com>2010-12-13 19:18:00 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:25 +0800
commitd23885aeb6b674c6810ab039791e3a88a8ed2707 (patch)
tree380154df38715824e23468e91591bb3edda7f48b /capplet
parentcadcc080eeb998a52b2163604e07fa5a71089391 (diff)
downloadgsoc2013-evolution-d23885aeb6b674c6810ab039791e3a88a8ed2707.tar.gz
gsoc2013-evolution-d23885aeb6b674c6810ab039791e3a88a8ed2707.tar.zst
gsoc2013-evolution-d23885aeb6b674c6810ab039791e3a88a8ed2707.zip
Adapt gdk_window_get_geometry for gtk+-3.0
Depth parameter has been removed now. Some other random fixes for gtk+-3.0 too.
Diffstat (limited to 'capplet')
-rw-r--r--capplet/settings/mail-decoration.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/capplet/settings/mail-decoration.c b/capplet/settings/mail-decoration.c
index 02ccf2f7d9..999567e962 100644
--- a/capplet/settings/mail-decoration.c
+++ b/capplet/settings/mail-decoration.c
@@ -87,8 +87,8 @@ md_translate_position (GdkWindow *w, double ex, double ey, gint *x, gint *y, Gtk
*y = (gint)ey;
while (w && w != gtk_widget_get_window (window)) {
- gint cx, cy, cw, ch, cd;
- gdk_window_get_geometry (w, &cx, &cy, &cw, &ch, &cd);
+ gint cx, cy, cw, ch;
+ gdk_window_get_geometry (w, &cx, &cy, &cw, &ch);
*x += cx;
*y += cy;
w = gdk_window_get_parent (w);