summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-06-28 16:28:36 +0200
committerStefano Karapetsas <[email protected]>2012-06-28 16:28:36 +0200
commitdc7650d7fc6ab26dc3a15964a65e59dd184d75b9 (patch)
tree0a9669a63fb084a8eb5fbf9eeb1103586b725676 /capplets
parentc7c8347630770ea34d42abcaef9c9c1b0ebea5e7 (diff)
downloadmate-control-center-dc7650d7fc6ab26dc3a15964a65e59dd184d75b9.tar.bz2
mate-control-center-dc7650d7fc6ab26dc3a15964a65e59dd184d75b9.tar.xz
reverted patch to avoid missing theme warningmate-control-center-1.3.0
- now debian/ubuntu completed multiarch transition, so gtk engines are only in 1 folder - this patch cause a 64bit warning on opensuse
Diffstat (limited to 'capplets')
-rw-r--r--capplets/common/mate-theme-info.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/capplets/common/mate-theme-info.c b/capplets/common/mate-theme-info.c
index 39d721a2..b246867d 100644
--- a/capplets/common/mate-theme-info.c
+++ b/capplets/common/mate-theme-info.c
@@ -1499,28 +1499,6 @@ gchar* gtk_theme_info_missing_engine(const gchar* gtk_theme, gboolean nameOnly)
for (l = engines; l; l = l->next)
{
- #if 1 // set to 0 if you can not compile with the follow code
- GtkThemeEngine* a = gtk_theme_engine_get((const gchar*) l->data);
-
- if (!a)
- {
- if (nameOnly)
- {
- engine = g_strdup(l->data);
- }
- else
- {
- // esto necesita más trabajo, pero creo que debian no se
- // salva ni con el anterior fix.
- // GTK_ENGINE_DIR aún sigue conteniendo un path erroneo.
- engine = g_module_build_path(GTK_ENGINE_DIR, l->data);
- }
-
- break;
- }
-
- #else
-
/* This code do not work on distros with more of one gtk theme
* engine path. Like debian. But yes on others like Archlinux.
* Example, debian use:
@@ -1550,7 +1528,6 @@ gchar* gtk_theme_info_missing_engine(const gchar* gtk_theme, gboolean nameOnly)
}
g_free(full);
- #endif
}
g_slist_foreach(engines, (GFunc) g_free, NULL);