diff options
author | Marvin W <git@larma.de> | 2023-01-24 18:57:04 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-01-25 11:02:02 +0100 |
commit | e35df88d4a00c3a34f2b4d9fb7f10bb5d877bd29 (patch) | |
tree | 46ee23485775399b56409aab88755319bfc80a23 /main/CMakeLists.txt | |
parent | cc7db3b85f7b29bfac333937d8bf09a81d8dc4a5 (diff) | |
download | dino-e35df88d4a00c3a34f2b4d9fb7f10bb5d877bd29.tar.gz dino-e35df88d4a00c3a34f2b4d9fb7f10bb5d877bd29.zip |
Fix UI for libadwaita
Diffstat (limited to 'main/CMakeLists.txt')
-rw-r--r-- | main/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 363b4185..b8f9d942 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -112,6 +112,9 @@ set(MAIN_DEFINITIONS) if(GTK4_VERSION VERSION_GREATER_EQUAL "4.6") set(MAIN_DEFINITIONS ${MAIN_DEFINITIONS} GTK_4_6) endif() +if(GTK4_VERSION VERSION_GREATER_EQUAL "4.8") + set(MAIN_DEFINITIONS ${MAIN_DEFINITIONS} GTK_4_8) +endif() if(Adwaita_VERSION VERSION_GREATER_EQUAL "1.2") set(MAIN_DEFINITIONS ${MAIN_DEFINITIONS} Adw_1_2) endif() @@ -204,7 +207,9 @@ SOURCES src/ui/util/label_hybrid.vala src/ui/util/sizing_bin.vala src/ui/util/size_request_box.vala - src/ui/util/scaling_image.vala + + src/ui/widgets/fixed_ratio_picture.vala + src/ui/widgets/natural_size_increase.vala CUSTOM_VAPIS ${CMAKE_BINARY_DIR}/exports/xmpp-vala.vapi ${CMAKE_BINARY_DIR}/exports/qlite.vapi |