summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2020-05-01 21:16:24 +0200
committerDave Andreoli <dave@gurumeditation.it>2020-05-01 21:16:24 +0200
commit7c2a3206091093ef565718a3765562b4fcfb7db0 (patch)
tree153805d3dde603ae1098f4ab30675c0febd59e1f
parent1f69754970cd4efbee10953e301b3858e34541dd (diff)
Fix segv on gadget click for gadgets without a popup (in bryce desktop mode)
-rw-r--r--src/e_mod_edgar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/e_mod_edgar.c b/src/e_mod_edgar.c
index 6e91266..7f554b5 100644
--- a/src/e_mod_edgar.c
+++ b/src/e_mod_edgar.c
@@ -447,7 +447,6 @@ edgar_request_popup_content(Edgar_Py_Gadget *gadget, Evas_Object *parent)
447 return content; 447 return content;
448 448
449exit_error: 449exit_error:
450 Py_XDECREF(pyparent);
451 Py_XDECREF(pycontent); 450 Py_XDECREF(pycontent);
452 return NULL; 451 return NULL;
453} 452}
@@ -621,7 +620,7 @@ edgar_popup_new(Edgar_Py_Gadget *gadget, E_Gadcon_Client *gcc)
621 content = edgar_request_popup_content(gadget, popup->comp_object); 620 content = edgar_request_popup_content(gadget, popup->comp_object);
622 if (!content) 621 if (!content)
623 { 622 {
624 // e_object_del(popup); // this call segfault badly 623 e_object_del(E_OBJECT(popup));
625 return NULL; 624 return NULL;
626 } 625 }
627 626