summaryrefslogtreecommitdiff
path: root/mate-about/mate-about.c
diff options
context:
space:
mode:
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));