[anjuta] sourceview: Fix for latest gtk+/gdk changes



commit 53e465750d742385c58433f2219c29b9d5d760c8
Author: Johannes Schmid <jhs gnome org>
Date:   Wed Dec 8 15:56:48 2010 +0100

    sourceview: Fix for latest gtk+/gdk 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 5c3b4b7..746b213 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 (window, NULL, NULL, &view_width, NULL, NULL);
+	gdk_window_get_geometry (window, NULL, NULL, &view_width, 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]