Revert "Lookup icon filename and load it manually rather than use LoadIcon()"
This reverts commit 6eae63bf87
.
This commit is contained in:
parent
6eae63bf87
commit
3fbbc57800
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue