diff options
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in index d95dc7c4addf..392cd15241d3 100644 --- a/configure.in +++ b/configure.in @@ -6858,9 +6858,11 @@ if test "x$enable_gtk3" = "xyes"; then if test "$with_system_cairo" != yes; then echo "System cairo required for gtk3 support, please use --system-cairo" fi - PKG_CHECK_MODULES(GTK3, gtk+-3.0 >= 3.0 cairo, ENABLE_GTK3="TRUE", ENABLE_GTK3="") + PKG_CHECK_MODULES(GTK3, gtk+-3.0 >= 3.2 cairo, ENABLE_GTK3="TRUE", ENABLE_GTK3="") if test "x$ENABLE_GTK3" = "xTRUE"; then R="gtk3" + else + AC_MSG_ERROR([gtk3 libraries of the correct versions, not found]) fi fi AC_SUBST(GTK3_LIBS) diff --git a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx index 9e93a02924eb..eb76ea7009f9 100644 --- a/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx +++ b/vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx @@ -109,7 +109,7 @@ static void PrepareComboboxStyle( GtkStyleContext *context, gtk_widget_path_append_with_siblings(path, siblingsPath, 1); gtk_widget_path_append_with_siblings(path, siblingsPath, 0); } - else + else { gtk_widget_path_append_with_siblings(path, siblingsPath, 0); gtk_widget_path_append_with_siblings(path, siblingsPath, 1); |