[anjuta] sourceview: Fix build with latest gtk+ changes
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] sourceview: Fix build with latest gtk+ changes
- Date: Sat, 4 Dec 2010 00:41:41 +0000 (UTC)
commit 973b69dfe80974400fe2b053c187d286e42457d5
Author: Johannes Schmid <jhs gnome org>
Date: Sat Dec 4 01:41:24 2010 +0100
sourceview: Fix build with latest gtk+ changes
plugins/sourceview/assist-tip.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/sourceview/assist-tip.c b/plugins/sourceview/assist-tip.c
index d406563..5c3b4b7 100644
--- a/plugins/sourceview/assist-tip.c
+++ b/plugins/sourceview/assist-tip.c
@@ -136,7 +136,7 @@ assist_tip_get_coordinates(GtkWidget* view, int* x, int* y, GtkTextIter* iter, G
gtk_widget_size_request(entry, &entry_req);
/* ensure that the tip is inside the text_view */
- gdk_window_get_geometry (GDK_DRAWABLE(window), NULL, NULL, &view_width, NULL, NULL);
+ gdk_window_get_geometry (window, NULL, NULL, &view_width, NULL, NULL);
width_left = (xor + view_width) - (*x + entry_req.width);
DEBUG_PRINT ("width_left: %d", width_left);
if (width_left < 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]