Revert "Lookup icon filename and load it manually rather than use LoadIcon()"

This reverts commit 6eae63bf87.
This commit is contained in:
Alex Hudson 2010-07-29 10:35:52 +01:00
parent c200e89713
commit 88585ea60a

View file

@ -101,8 +101,7 @@ namespace SparkleShare {
IconTheme IconTheme = new IconTheme ();
IconTheme.AppendSearchPath (SparklePaths.SparkleIconPath);
IconTheme.AppendSearchPath (SparklePaths.SparkleLocalIconPath);
IconInfo info = IconTheme.LookupIcon(Name, Size, IconLookupFlags.GenericFallback);
return new Gdk.Pixbuf(info.Filename);
return IconTheme.LoadIcon (Name, Size, IconLookupFlags.GenericFallback);
}