diff --git a/configure.sh b/configure.sh index 81ad84d9eac1d4cbaf3ccb24ddec510cc36e3020..28e037142dc6f4a940716771d387aa9fd1fd451b 100755 --- a/configure.sh +++ b/configure.sh @@ -25,7 +25,7 @@ fi eval set -- "$ARGS"; zero="$0"; -PKGS="gtk4 libadwaita-1 librsvg-2.0" +PKGS="gtk4 librsvg-2.0" while true; do diff --git a/inc/app.h b/inc/app.h index 73971394e2ddd47ee720260138811405ec3ec491..efc75b1071dec899e4344609c757735eb96092b4 100644 --- a/inc/app.h +++ b/inc/app.h @@ -5,11 +5,11 @@ extern "C" { #endif -#include <adwaita.h> +#include <gtk/gtk.h> #define GAME_APP_TYPE ( game_app_get_type() ) G_DECLARE_FINAL_TYPE( - GameApp, game_app, GAME, APP, AdwApplication ); + GameApp, game_app, GAME, APP, GtkApplication ); GameApp* game_app_new(); void game_app_button_press( GameApp* app, int pin ); diff --git a/src/app.c b/src/app.c index 8e4dfe7c641a9a718eec90bb8535998ce0d8a19d..d93a6badfd512f4e5057e4a082df5892368b0fd6 100644 --- a/src/app.c +++ b/src/app.c @@ -7,13 +7,13 @@ struct _GameApp { - AdwApplication parent; + GtkApplication parent; GameWindow* window; }; -G_DEFINE_TYPE( GameApp, game_app, ADW_TYPE_APPLICATION ); +G_DEFINE_TYPE( GameApp, game_app, GTK_TYPE_APPLICATION ); /* PROTOTYPES!!! */ diff --git a/src/main.c b/src/main.c index c1d6d9352cf858a38a86e6aff9826aadeef19ce5..220516959c3dcf72670f5158da3680b79539b46f 100644 --- a/src/main.c +++ b/src/main.c @@ -2,7 +2,7 @@ #include "pins.h" -#include <adwaita.h> +#include <gtk/gtk.h> #include <stdio.h> #ifndef NO_WIRINGPI #include <wiringPi.h>