[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 20 Mar 2022 04:55:22 -0400 (EDT) |
branch: master
commit d713d565c0eb3bb823f2a9743f8bbc50ea08b89d
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Oct 21 11:58:19 2019 +0100
avoid null argument
---
js/infog/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/js/infog/main.c b/js/infog/main.c
index 8cd36151db..85f38226f8 100644
--- a/js/infog/main.c
+++ b/js/infog/main.c
@@ -338,7 +338,8 @@ socket_cb (GSocket *socket,
{
debug (1, "NEW MANUAL %s\n", p + 1);
clear_completions ();
- gtk_tree_store_clear (toc_store);
+ if (toc_store)
+ gtk_tree_store_clear (toc_store);
char *q = strchr (p + 1, '\n');
if (!q)
- [no subject], (continued)
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject],
Gavin D. Smith <=
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20