summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-25 18:55:02 +0100
committerraveit65 <[email protected]>2020-12-01 12:27:29 +0100
commit6bebceb3dbbd9e9fc2b4661499785157cebbc8a4 (patch)
tree1c3fa1197e2ba735cd1859a9aeba35eb8622dc02
parent11f222a29b1a2828953c8e2ef4c13a922ec96794 (diff)
downloadmate-control-center-6bebceb3dbbd9e9fc2b4661499785157cebbc8a4.tar.bz2
mate-control-center-6bebceb3dbbd9e9fc2b4661499785157cebbc8a4.tar.xz
mate-theme-info: remove unused includes
-rw-r--r--capplets/common/mate-theme-info.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/capplets/common/mate-theme-info.c b/capplets/common/mate-theme-info.c
index 91359f5e..01c83eec 100644
--- a/capplets/common/mate-theme-info.c
+++ b/capplets/common/mate-theme-info.c
@@ -23,12 +23,10 @@
*/
#ifdef HAVE_CONFIG_H
- #include <config.h>
+#include <config.h>
#endif
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <dirent.h>
+#include <glib.h>
#include <glib/gi18n.h>
#include <gmodule.h>
#include <gtk/gtk.h>
@@ -1797,7 +1795,7 @@ mate_theme_init ()
}
/* ~/.themes */
- top_theme_dir_string = g_build_filename (g_get_home_dir (), ".themes", NULL);
+ top_theme_dir_string = g_build_filename (g_get_home_dir (), ".themes", NULL);
top_theme_dir = g_file_new_for_path (top_theme_dir_string);
g_free (top_theme_dir_string);
if (!g_file_query_exists (top_theme_dir, NULL))