From fa57a223d377109563f067c708847c26428a7aae Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 23 Apr 2014 17:05:57 +0200 Subject: appearance: Dont show GTK+ engine warning for GTK3 --- capplets/appearance/appearance-style.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'capplets') 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 -- cgit v1.2.1