Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/DefaultPropertyTab.cs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/DefaultPropertyTab.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/DefaultPropertyTab.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/DefaultPropertyTab.cs
index 55737bfa78..65151f404c 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/DefaultPropertyTab.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/DefaultPropertyTab.cs
@@ -81,12 +81,12 @@ namespace MonoDevelop.Components.PropertyGrid
return GetProperties (component, null);
}
- public Gdk.Pixbuf GetIcon ()
+ public Xwt.Drawing.Image GetIcon ()
{
using (var stream = GetType ().Assembly.GetManifestResourceStream (GetType ().FullName + ".bmp")) {
if (stream != null) {
try {
- return new Gdk.Pixbuf (stream);
+ return new Gdk.Pixbuf (stream).ToXwtImage ();
} catch (Exception e) {
LoggingService.LogError ("Can't create pixbuf from resource:" + GetType ().FullName + ".bmp", e);
}