aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
authorVibha Yadav <yvibha@novell.com>2010-12-13 19:18:00 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-25 23:37:16 +0800
commit72a11da2fcde1f61cd99880f887d301e5c5d3a7c (patch)
treea15d9c3d8bff2f78040ab01510bdc5173fcfba7f /capplet
parentadc0e71ea6d243e815a7fed8fdd37b69bbf352db (diff)
downloadgsoc2013-evolution-72a11da2fcde1f61cd99880f887d301e5c5d3a7c.tar
gsoc2013-evolution-72a11da2fcde1f61cd99880f887d301e5c5d3a7c.tar.gz
gsoc2013-evolution-72a11da2fcde1f61cd99880f887d301e5c5d3a7c.tar.bz2
gsoc2013-evolution-72a11da2fcde1f61cd99880f887d301e5c5d3a7c.tar.lz
gsoc2013-evolution-72a11da2fcde1f61cd99880f887d301e5c5d3a7c.tar.xz
gsoc2013-evolution-72a11da2fcde1f61cd99880f887d301e5c5d3a7c.tar.zst
gsoc2013-evolution-72a11da2fcde1f61cd99880f887d301e5c5d3a7c.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);