summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2023-03-17 14:24:28 -0500
committerMichael Catanzaro <mcatanzaro@redhat.com>2023-03-17 14:24:28 -0500
commit60d32a128e6c8781475ac860f8a82dafaddea512 (patch)
treed81eabebaa3418d7a7d1bab4129e0c4962b99f82
parent05f211b789b6077e28254ed824de5a2a1afb0cbc (diff)
downloadepiphany-60d32a128e6c8781475ac860f8a82dafaddea512.tar.gz
Use adw_expander_row_add_suffix
This replaces use of the deprecated adw_expander_row_add_action. It should not be backported to the gnome-44 branch since we don't want that branch to depend on libadwaita 1.4. Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1302>
-rw-r--r--meson.build2
-rw-r--r--src/preferences/passwords-view.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 50a80dbe2..8dcb0a669 100644
--- a/meson.build
+++ b/meson.build
@@ -75,7 +75,7 @@ conf.set10('ENABLE_GSB', gsb_api_key != '')
glib_requirement = '>= 2.70.0'
gtk_requirement = '>= 4.9.3'
-libadwaita_requirement = '>= 1.3.alpha'
+libadwaita_requirement = '>= 1.4.alpha'
nettle_requirement = '>= 3.4'
webkitgtk_requirement = '>= 2.39.91'
diff --git a/src/preferences/passwords-view.c b/src/preferences/passwords-view.c
index 61a748e5d..851574442 100644
--- a/src/preferences/passwords-view.c
+++ b/src/preferences/passwords-view.c
@@ -238,7 +238,7 @@ populate_model_cb (GList *records,
gtk_widget_set_valign (button, GTK_ALIGN_CENTER);
gtk_widget_set_tooltip_text (button, _("Copy password"));
gtk_widget_add_css_class (button, "flat");
- adw_expander_row_add_action (ADW_EXPANDER_ROW (row), button);
+ adw_expander_row_add_suffix (ADW_EXPANDER_ROW (row), button);
g_signal_connect (button, "clicked", G_CALLBACK (copy_password_clicked), (void *)(ephy_password_record_get_password (record)));
/* Username */