[gtk/static-analysis-fixes: 5/13] emojichooser: Static analysis fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/static-analysis-fixes: 5/13] emojichooser: Static analysis fixes
- Date: Mon, 3 May 2021 11:45:01 +0000 (UTC)
commit 2f51f5affee3fb6f86f799451eb099ccfdd8be77
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 3 07:34:04 2021 -0400
emojichooser: Static analysis fixes
gtk/gtkemojichooser.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkemojichooser.c b/gtk/gtkemojichooser.c
index f778684d33..646be90ed3 100644
--- a/gtk/gtkemojichooser.c
+++ b/gtk/gtkemojichooser.c
@@ -1110,6 +1110,8 @@ keynav_failed (GtkWidget *box,
}
}
+ n_columns = MAX (n_columns, 1);
+
child = gtk_widget_get_ancestor (focus, GTK_TYPE_EMOJI_CHOOSER_CHILD);
i = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]