Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guess we were working on the same thing! My fix is a little more robust I think. #15

Merged
merged 3 commits into from
Apr 22, 2012

Conversation

jpobst
Copy link
Contributor

@jpobst jpobst commented Apr 22, 2012

No description provided.


return icon;
// Try to return gtk's default missing image
if (name != "gtk-missing-image")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to use Gtk.Stock.MissingImage here instead of hard-coding the string.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.

@cameronwhite
Copy link
Member

Agreed, this is definitely a more robust way to solve the issue.

cameronwhite added a commit that referenced this pull request Apr 22, 2012
More robust approach to handling missing icons.
@cameronwhite cameronwhite merged commit f5dfe28 into PintaProject:master Apr 22, 2012
@cameronwhite
Copy link
Member

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants