vala-tests r52 - trunk/tests/examples



Author: juergbi
Date: Thu Nov 20 21:17:02 2008
New Revision: 52
URL: http://svn.gnome.org/viewvc/vala-tests?rev=52&view=rev

Log:
Fix Widget example


Modified:
   trunk/tests/examples/gtk-valawidget.vala

Modified: trunk/tests/examples/gtk-valawidget.vala
==============================================================================
--- trunk/tests/examples/gtk-valawidget.vala	(original)
+++ trunk/tests/examples/gtk-valawidget.vala	Thu Nov 20 21:17:02 2008
@@ -62,7 +62,7 @@
 	// The size_request method Gtk+ is calling on a widget to ask
 	// it the widget how large it wishes to be. It's not guaranteed
 	// that gtk+ will actually give this size to the widget
-	public override void size_request (Gtk.Requisition requisition)
+	public override void size_request (out Gtk.Requisition requisition)
 	{
         int width, height;
 
@@ -137,4 +137,4 @@
         Gtk.main ();
         return 0;
 	}
-}
\ No newline at end of file
+}



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