chore: update dependency versions

- glib >= 2.71.2 (BindingGroups)
- replaced GtkFlowBox#append with #insert for now

fix: #71
This commit is contained in:
Evangelos Paterakis 2023-02-16 23:19:38 +02:00
parent f014b99671
commit d30f5a212a
No known key found for this signature in database
GPG Key ID: FE5185F095BFC8C9
3 changed files with 4 additions and 3 deletions

View File

@ -24,7 +24,7 @@
:--- |---:|
meson | 0.56
valac | 0.48
libglib-2.0-dev | 2.30
libglib-2.0-dev | 2.71.2
libjson-glib-dev | 1.4.4
libxml2-dev | 2.9.10
libgee-0.8-dev | 0.8.5

View File

@ -162,7 +162,7 @@ executable(
build_file,
sources,
dependencies: [
dependency('glib-2.0', version: '>=2.30.0'),
dependency('glib-2.0', version: '>=2.71.2'),
dependency('gee-0.8', version: '>=0.8.5'),
dependency('libsoup-2.4'),
dependency('json-glib-1.0', version: '>=1.4.4'),

View File

@ -118,7 +118,8 @@ public class Tooth.Widgets.Status : ListBoxRow {
badge_button.add_css_class("accent");
}
emoji_reactions.append(badge_button);
// emoji_reactions.append(badge_button); // GTK >= 4.5
emoji_reactions.insert (badge_button, -1);
}
emoji_reactions.visible = value.size > 0;