Hi, Here is a simple patch for elc_ctxpopup

Please check then apply it. 

Thanks. 


Best Regards,
Hermet 
Index: src/lib/elc_ctxpopup.c
===================================================================
--- src/lib/elc_ctxpopup.c      (revision 56232)
+++ src/lib/elc_ctxpopup.c      (working copy)
@@ -676,11 +676,14 @@
    _elm_theme_object_set(obj, wd->arrow, "ctxpopup", "arrow",
                          elm_widget_style_get(obj));
 
-   if (!strncmp(elm_object_style_get(obj), "default", 
-                strlen("default")))
-      elm_object_style_set(wd->scr, "ctxpopup");
-   else 
-      elm_object_style_set(wd->scr, elm_object_style_get(obj));
+   if (wd->scr)
+     {
+        if (!strncmp(elm_object_style_get(obj), "default", 
+                     strlen("default")))
+           elm_object_style_set(wd->scr, "ctxpopup");
+        else 
+           elm_object_style_set(wd->scr, elm_object_style_get(obj));
+     }
 
    if (wd->visible)
      {
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to