[libadwaita/wip/exalm/fixes: 4/4] demo: Fix a critical when toggling tab indicators
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/fixes: 4/4] demo: Fix a critical when toggling tab indicators
- Date: Fri, 26 Aug 2022 20:36:39 +0000 (UTC)
commit 701b21330e31402f5d62dfc28bba23d615a65975
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Aug 27 00:08:34 2022 +0400
demo: Fix a critical when toggling tab indicators
demo/pages/tab-view/adw-tab-view-demo-window.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/demo/pages/tab-view/adw-tab-view-demo-window.c b/demo/pages/tab-view/adw-tab-view-demo-window.c
index adc4eef2..4462e535 100644
--- a/demo/pages/tab-view/adw-tab-view-demo-window.c
+++ b/demo/pages/tab-view/adw-tab-view-demo-window.c
@@ -278,6 +278,8 @@ tab_change_indicator (GSimpleAction *action,
if (indicator) {
icon = get_indicator_icon (get_current_page (self));
tooltip = get_indicator_tooltip (get_current_page (self));
+ } else {
+ tooltip = g_strdup ("");
}
adw_tab_page_set_indicator_icon (get_current_page (self), icon);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]