Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use Gtk.Stock.MissingImage rather than a hardcoded string.

  • Loading branch information...
commit 318ad4c42b4881f1b0147c84dc3cd546b392ec4d 1 parent c2add36
@jpobst authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Pinta.Resources/ResourceManager.cs
View
4 Pinta.Resources/ResourceManager.cs
@@ -46,8 +46,8 @@ public static Pixbuf GetIcon (string name, int size)
System.Console.Error.WriteLine (ex.Message);
// Try to return gtk's default missing image
- if (name != "gtk-missing-image")
- return GetIcon ("gtk-missing-image", size);
+ if (name != Gtk.Stock.MissingImage)
+ return GetIcon (Gtk.Stock.MissingImage, size);
// If gtk is missing it's "missing image", we'll create one on the fly
return CreateMissingImage (size);
Please sign in to comment.
Something went wrong with that request. Please try again.