[libadwaita/wip/sophie-h/pref-row-markup] Apply 2 suggestion(s) to 2 file(s)
- From: Sophie Herold <sophieherold src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/sophie-h/pref-row-markup] Apply 2 suggestion(s) to 2 file(s)
- Date: Mon, 4 Apr 2022 18:48:09 +0000 (UTC)
commit 46ad74b78a2edb55fcbc14605212aeb7a931f967
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Apr 4 18:48:08 2022 +0000
Apply 2 suggestion(s) to 2 file(s)
src/adw-preferences-window.c | 3 ++-
tests/test-action-row.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/adw-preferences-window.c b/src/adw-preferences-window.c
index d8750e84..c1d986bc 100644
--- a/src/adw-preferences-window.c
+++ b/src/adw-preferences-window.c
@@ -136,7 +136,8 @@ make_comparable (const char *src,
gboolean allow_underline)
{
char* plaintext = g_utf8_casefold (src, -1);
- char* comparable;
+ char *plaintext = g_utf8_casefold (src, -1);
+ char *comparable;
GError *error = NULL;
if (adw_preferences_row_get_use_markup (row)) {
diff --git a/tests/test-action-row.c b/tests/test-action-row.c
index 9496548d..5059379d 100644
--- a/tests/test-action-row.c
+++ b/tests/test-action-row.c
@@ -50,7 +50,7 @@ test_adw_action_row_subtitle (void)
adw_action_row_set_subtitle (row, "Dummy subtitle");
g_assert_cmpstr (adw_action_row_get_subtitle (row), ==, "Dummy subtitle");
- adw_preferences_row_set_use_markup(ADW_PREFERENCES_ROW (row), FALSE);
+ adw_preferences_row_set_use_markup (ADW_PREFERENCES_ROW (row), FALSE);
adw_action_row_set_subtitle (row, "Invalid <b>markup");
g_assert_cmpstr (adw_action_row_get_subtitle (row), ==, "Invalid <b>markup");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]