summaryrefslogtreecommitdiff
path: root/mate-about/mate-about.c
diff options
context:
space:
mode:
authorBalló György <[email protected]>2015-07-29 10:00:19 +0200
committerinfirit <[email protected]>2015-09-14 15:59:49 +0200
commitb838c8c828d2d4e988b10b18f5f734f29bcac28c (patch)
tree7a5ce6b1985220ef8517626be916d09952f8f585 /mate-about/mate-about.c
parent448b18d3405df9dce20a61edfb9004284db4e50f (diff)
downloadmate-desktop-b838c8c828d2d4e988b10b18f5f734f29bcac28c.tar.bz2
mate-desktop-b838c8c828d2d4e988b10b18f5f734f29bcac28c.tar.xz
Fix missing icons on GTK3 with custom icon theme
Diffstat (limited to 'mate-about/mate-about.c')
-rw-r--r--mate-about/mate-about.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c
index 2167769..50506e5 100644
--- a/mate-about/mate-about.c
+++ b/mate-about/mate-about.c
@@ -69,18 +69,8 @@ void mate_about_run(void)
{
mate_about_dialog = (MateAboutDialog*) mate_about_dialog_new();
- GtkIconTheme* icon_theme = gtk_icon_theme_get_default();
-
- if (gtk_icon_theme_has_icon(icon_theme, icon))
- {
- gtk_window_set_default_icon_name(icon);
- mate_about_dialog_set_logo_icon_name(mate_about_dialog, icon);
- }
- else
- {
- gtk_window_set_default_icon_name(desktop_icon);
- mate_about_dialog_set_logo_icon_name(mate_about_dialog, desktop_icon);
- }
+ gtk_window_set_default_icon_name(icon);
+ mate_about_dialog_set_logo_icon_name(mate_about_dialog, icon);
// name
mate_about_dialog_set_program_name(mate_about_dialog, gettext(program_name));