[gnome-software: 1/2] repos-dialog: Lower the Libhandy version check
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] repos-dialog: Lower the Libhandy version check
- Date: Fri, 13 Aug 2021 08:35:11 +0000 (UTC)
commit 81c53a0bdbed60930a6b8015867108c431edaa91
Author: Adrien Plazas <kekun plazas laposte net>
Date: Fri Aug 13 10:16:20 2021 +0200
repos-dialog: Lower the Libhandy version check
I released Libhandy 1.3.90 with the required API.
src/gs-repos-dialog.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gs-repos-dialog.c b/src/gs-repos-dialog.c
index 4b85b4efb..6156118b4 100644
--- a/src/gs-repos-dialog.c
+++ b/src/gs-repos-dialog.c
@@ -497,10 +497,10 @@ get_sources_cb (GsPluginLoader *plugin_loader,
_("Additional repositories from selected third parties — %s."),
anchor);
-/* HdyPreferencesGroup:use-markup doesn't exist before 1.4, configurations where
- * GNOME 41 will be used and Libhandy 1.4 won't be available are unlikely, so
- * let's just ignore the description in such cases. */
-#if HDY_CHECK_VERSION(1, 4, 0)
+/* HdyPreferencesGroup:use-markup doesn't exist before 1.3.90, configurations
+ * where GNOME 41 will be used and Libhandy 1.3.90 won't be available are
+ * unlikely, so let's just ignore the description in such cases. */
+#if HDY_CHECK_VERSION(1, 3, 90)
hdy_preferences_group_set_description (HDY_PREFERENCES_GROUP (section), hint);
hdy_preferences_group_set_use_markup (HDY_PREFERENCES_GROUP (section), TRUE);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]