[Muine] Gtk.Requisition patch
- From: Edd Dumbill <edd usefulinc com>
- To: muine-list gnome org
- Subject: [Muine] Gtk.Requisition patch
- Date: Fri, 11 Jun 2004 23:30:45 +0100
This patch makes Muine compile against CVS gtk-sharp.
-- Edd
Index: src/NotificationAreaIcon.cs
===================================================================
RCS file: /cvs/gnome/muine/src/NotificationAreaIcon.cs,v
retrieving revision 1.21
diff -u -r1.21 NotificationAreaIcon.cs
--- src/NotificationAreaIcon.cs 13 Apr 2004 11:41:38 -0000 1.21
+++ src/NotificationAreaIcon.cs 11 Jun 2004 22:29:38 -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]