diff --git a/mtk/meson.build b/mtk/meson.build index 1b2609c50..6e7e347d6 100644 --- a/mtk/meson.build +++ b/mtk/meson.build @@ -28,7 +28,6 @@ supported_mtk_debug_c_args = cc.get_supported_arguments(mtk_debug_c_args) mtk_c_args += mtk_debug_c_args mtk_pkg_deps = [ - cairo_gobject_dep, glib_dep, gobject_dep, gio_dep, diff --git a/mtk/mtk/mtk-rectangle.h b/mtk/mtk/mtk-rectangle.h index 420ad73a0..e8c5f59ab 100644 --- a/mtk/mtk/mtk-rectangle.h +++ b/mtk/mtk/mtk-rectangle.h @@ -21,7 +21,6 @@ #pragma once -#include #include #include @@ -44,14 +43,6 @@ typedef enum _MtkRoundingStrategy * @width: Width of the rectangle * @height: Height of the rectangle */ -#ifdef __GI_SCANNER__ -/* The introspection scanner is currently unable to lookup how - * cairo_rectangle_int_t is actually defined. This prevents - * introspection data for the GdkRectangle type to include fields - * descriptions. To workaround this issue, we define it with the same - * content as cairo_rectangle_int_t, but only under the introspection - * define. - */ struct _MtkRectangle { int x; @@ -59,10 +50,8 @@ struct _MtkRectangle int width; int height; }; + typedef struct _MtkRectangle MtkRectangle; -#else -typedef cairo_rectangle_int_t MtkRectangle; -#endif #define MTK_RECTANGLE_INIT(_x, _y, _width, _height) \ (MtkRectangle) { \