[Muine] Small fix for new gtk-sharp (CVS/0.97)



Hey all,

Attached is a small fix for muine to get it working with gtk-sharp
CVS/0.97 which is soon to be released.

-pete

-- 
Peter Johanson
<latexer gentoo org>
? src/Backend.cs
? src/GstBackend.cs
? src/Player.cs.new
Index: src/NotificationAreaIcon.cs
===================================================================
RCS file: /cvs/gnome/muine/src/NotificationAreaIcon.cs,v
retrieving revision 1.21
diff -u -b -B -r1.21 NotificationAreaIcon.cs
--- a/src/NotificationAreaIcon.cs	13 Apr 2004 11:41:38 -0000	1.21
+++ b/src/NotificationAreaIcon.cs	15 Jun 2004 20:57:14 -0000
@@ -196,8 +196,7 @@
 		int space_above = y - rect.Y;
 		int space_below = rect.Y + rect.Height - y;
 
-		Requisition requisition = new Requisition ();
-		menu.SizeRequest (ref requisition);
+		Requisition requisition = menu.SizeRequest ();
 
 		if (requisition.Height <= space_above ||
 		    requisition.Height <= space_below) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]