Author: lluis
Date: 2007-10-04 08:42:00 -0400 (Thu, 04 Oct 2007)
New Revision: 86875
Modified:
trunk/stetic/ChangeLog
trunk/stetic/libstetic/wrapper/Action.cs
Log:
* libstetic/wrapper/Action.cs: Avoid providing a null name in the
Gtk.Action constructor. Fixes crash in gtk+ 2.12.
Modified: trunk/stetic/ChangeLog
===================================================================
--- trunk/stetic/ChangeLog 2007-10-04 12:39:08 UTC (rev 86874)
+++ trunk/stetic/ChangeLog 2007-10-04 12:42:00 UTC (rev 86875)
@@ -1,3 +1,8 @@
+2007-10-04 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * libstetic/wrapper/Action.cs: Avoid providing a null name in the
Gtk.Action
+ constructor. Fixes crash in gtk+ 2.12.
+
2007-10-01 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* libsteticui/CecilWidgetLibrary.cs: Added missing null check.
Modified: trunk/stetic/libstetic/wrapper/Action.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Action.cs 2007-10-04 12:39:08 UTC (rev
86874)
+++ trunk/stetic/libstetic/wrapper/Action.cs 2007-10-04 12:42:00 UTC (rev
86875)
@@ -218,7 +218,7 @@
public override void Read (ObjectReader reader, XmlElement elem)
{
- Gtk.Action ac = new Gtk.Action (name, "");
+ Gtk.Action ac = new Gtk.Action ("", "");
ClassDescriptor klass = Registry.LookupClassByName
("Gtk.Action");
ObjectWrapper.Bind (reader.Project, klass, this, ac,
true);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches