diff --git a/ports/gtk/CMakeLists.txt b/ports/gtk/CMakeLists.txt index a8be6b45a9..22e30b1a78 100644 --- a/ports/gtk/CMakeLists.txt +++ b/ports/gtk/CMakeLists.txt @@ -76,8 +76,11 @@ add_definitions( -DGTK_DISABLE_SINGLE_INCLUDES -D_USE_MATH_DEFINES) +add_definitions(-DG_ENABLE_DEBUG) if(CMAKE_BUILD_TYPE STREQUAL Debug) - add_definitions(-DG_ENABLE_DEBUG) + add_definitions(-DG_ENABLE_CONSISTENCY_CHECKS) +else() + add_definitions(-DG_DISABLE_CAST_CHECKS) endif() macro(extract_vcproj_sources VC_PROJECT OUT_VAR) diff --git a/ports/gtk/CONTROL b/ports/gtk/CONTROL index e5931156d5..c470f8ac87 100644 --- a/ports/gtk/CONTROL +++ b/ports/gtk/CONTROL @@ -1,4 +1,4 @@ Source: gtk -Version: 3.22.19-1 +Version: 3.22.19-2 Description: Portable library for creating graphical user interfaces. Build-Depends: glib, atk, gdk-pixbuf, pango, cairo, libepoxy, gettext