elementary/notify : In _timer_cb of elm_notify, access to sd should be forbidden...
authorWooHyun Jung <woohyun0705@gmail.com>
Wed, 23 Jan 2013 05:29:31 +0000 (05:29 +0000)
committerWooHyun Jung <woohyun0705@gmail.com>
Wed, 23 Jan 2013 05:29:31 +0000 (05:29 +0000)
SVN revision: 83121

legacy/elementary/ChangeLog
legacy/elementary/src/lib/elm_notify.c

index 2699c2a..d6e1ad7 100644 (file)
 2012-01-22  Daniel Juyung Seo (SeoZ)
 
         * Enhanced diskselector add and item_append time.
+
+2012-01-23  WooHyun Jung
+
+        * In _timer_cb of elm_notify, access to sd should be forbidden after smart_callback_call is called.
index e78479f..5bccedc 100644 (file)
@@ -238,13 +238,13 @@ _timer_cb(void *data)
 
    ELM_NOTIFY_DATA_GET(obj, sd);
 
+   sd->timer = NULL;
    if (!evas_object_visible_get(obj)) goto end;
 
    evas_object_hide(obj);
    evas_object_smart_callback_call(obj, SIG_TIMEOUT, NULL);
 
 end:
-   sd->timer = NULL;
    return ECORE_CALLBACK_CANCEL;
 }