~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Toolbox/IToolboxLoader.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
namespace MonoDevelop.DesignerSupport.Toolbox
43
43
{
44
 
        
45
 
        
46
44
        public interface IToolboxLoader
47
45
        {
48
46
                //comma-separated extensions
143
141
        {
144
142
                public string LoadItems (string asmName, string typeName, string fileName)
145
143
                {
146
 
                        Gtk.Application.Init ();
147
144
                        XmlDataSerializer ser = new XmlDataSerializer (MonoDevelop.Projects.Services.ProjectService.DataContext);
148
145
                        ToolboxList tl = new ToolboxList ();
149
146
                        object ob = Activator.CreateInstance (asmName, typeName).Unwrap ();