diff options
author | Stefano Karapetsas <[email protected]> | 2014-04-23 17:05:57 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-04-23 17:05:57 +0200 |
commit | fa57a223d377109563f067c708847c26428a7aae (patch) | |
tree | 44af1ac2fa8ba6de1ae211cbad02e32977d811f8 /capplets/appearance | |
parent | 60d8512e26beafaa4b8c355cd4ed245c2736137e (diff) | |
download | mate-control-center-fa57a223d377109563f067c708847c26428a7aae.tar.bz2 mate-control-center-fa57a223d377109563f067c708847c26428a7aae.tar.xz |
appearance: Dont show GTK+ engine warning for GTK3
Diffstat (limited to 'capplets/appearance')
-rw-r--r-- | capplets/appearance/appearance-style.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c index ec9f916a..785ee689 100644 --- a/capplets/appearance/appearance-style.c +++ b/capplets/appearance/appearance-style.c @@ -250,6 +250,7 @@ static void update_message_area(AppearanceData* data) gtk_box_pack_start (GTK_BOX (parent), data->style_message_area, FALSE, FALSE, 0); } +#if !GTK_CHECK_VERSION (3, 0, 0) if (engine != NULL) { gchar* message = g_strdup_printf(_("This theme will not look as intended because the required GTK+ theme engine '%s' is not installed."), engine); @@ -273,6 +274,9 @@ static void update_message_area(AppearanceData* data) { gtk_widget_hide(data->style_message_area); } +#else + gtk_widget_hide(data->style_message_area); +#endif } static void |