[evolution/webkit] Adapt gdk_window_get_geometry for gtk+-3.0
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit] Adapt gdk_window_get_geometry for gtk+-3.0
- Date: Mon, 11 Jul 2011 14:04:50 +0000 (UTC)
commit e57cf38f5637e7323ea19370d6d35dc93dfdaa07
Author: Vibha Yadav <yvibha novell com>
Date: Mon Dec 13 16:48:00 2010 +0530
Adapt gdk_window_get_geometry for gtk+-3.0
Depth parameter has been removed now.
Some other random fixes for gtk+-3.0 too.
capplet/settings/mail-decoration.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/capplet/settings/mail-decoration.c b/capplet/settings/mail-decoration.c
index 02ccf2f..999567e 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]