[gimp] app: fix a super secret segfault
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix a super secret segfault
- Date: Thu, 30 Jan 2020 16:29:37 +0000 (UTC)
commit 2145f4301c0dea6dbc5c97635795b330c53efd03
Author: Ell <ell_se yahoo com>
Date: Thu Jan 30 18:24:44 2020 +0200
app: fix a super secret segfault
app/dialogs/lebl-dialog.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/app/dialogs/lebl-dialog.c b/app/dialogs/lebl-dialog.c
index 7c21259f57..3ee9c6e7f3 100644
--- a/app/dialogs/lebl-dialog.c
+++ b/app/dialogs/lebl-dialog.c
@@ -162,7 +162,10 @@ inv_show_status (void)
static gboolean
inv_queue_draw_idle (gpointer data)
{
- gtk_widget_queue_draw (data);
+ inv_draw_idle = 0;
+
+ if (geginv)
+ gtk_widget_queue_draw (data);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]