okra pushed a commit to branch master.

commit 0b787c4829a7b54b8612a9828aba47df7fe37588
Author: Stephen Houston <[email protected]>
Date:   Sun Aug 4 16:40:29 2013 -0500

    elm_thumb - Fix always false on elm_thumb_ethumb_client_get
    
    When ethumb_client_init is called in elm_need_ethumb, the ethumb client 
needs to be set in order to use
    elm_thumb_ethumb_client_get after calling elm_need_ethumb. spank spank 
raster for removing? :)
---
 src/lib/elm_thumb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_thumb.c b/src/lib/elm_thumb.c
index d615009..b4825dc 100644
--- a/src/lib/elm_thumb.c
+++ b/src/lib/elm_thumb.c
@@ -566,7 +566,8 @@ elm_need_ethumb(void)
 
    ELM_ECORE_EVENT_ETHUMB_CONNECT = ecore_event_type_new();
    ethumb_client_init();
-
+   if (!_elm_ethumb_client)
+        _elm_ethumb_client = ethumb_client_connect(_connect_cb, NULL, NULL);
    return EINA_TRUE;
 #else
    return EINA_FALSE;

-- 

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk

Reply via email to