Hi,
I was investigating #931 ( http://trac.enlightenment.org/e/ticket/931 ), when I noticed that the notification module was writing garbage into the id field of the config file. Attached is the one line fix.
diff -Naur e.old/src/modules/notification/e_mod_box.c 
e/src/modules/notification/e_mod_box.c
--- e.old/src/modules/notification/e_mod_box.c  2012-03-10 23:20:15.905738200 
+0800
+++ e/src/modules/notification/e_mod_box.c      2012-03-10 23:21:49.369734134 
+0800
@@ -153,7 +153,7 @@
    GADCON_CLIENT_CONFIG_GET(Config_Item, notification_cfg->items, _gc_class, 
id);
 
    ci = E_NEW(Config_Item, 1);
-   ci->id = eina_stringshare_ref(id);
+   ci->id = eina_stringshare_add(id);
    ci->show_label = 1;
    ci->show_popup = 1;
    ci->focus_window = 1;
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to