[elm] Oops, forgotten class smart cbs setting
authorGustavo Lima Chaves <glima@profusion.mobi>
Fri, 8 Jun 2012 21:05:45 +0000 (21:05 +0000)
committerGustavo Lima Chaves <glima@profusion.mobi>
Fri, 8 Jun 2012 21:05:45 +0000 (21:05 +0000)
 paths.
This will also unb0rk Edje externals signal proxying.

SVN revision: 71868

src/lib/elm_button.c
src/lib/elm_image.c
src/lib/elm_layout.c

index 70c9d9e..c35887c 100644 (file)
@@ -342,10 +342,12 @@ elm_button_smart_class_get(void)
    static Elm_Button_Smart_Class _sc =
      ELM_BUTTON_SMART_CLASS_INIT_NAME_VERSION(BUTTON_SMART_NAME);
    static const Elm_Button_Smart_Class *class = NULL;
+   Evas_Smart_Class *esc = (Evas_Smart_Class *)&_sc;
 
    if (class) return class;
 
    _elm_button_smart_set(&_sc);
+   esc->callbacks = _smart_callbacks;
    class = &_sc;
 
    return class;
index bc02d4e..bae0819 100644 (file)
@@ -1036,11 +1036,13 @@ elm_image_smart_class_get(void)
    static Elm_Image_Smart_Class _sc =
      ELM_IMAGE_SMART_CLASS_INIT_NAME_VERSION(IMAGE_SMART_NAME);
    static const Elm_Image_Smart_Class *class = NULL;
+   Evas_Smart_Class *esc = (Evas_Smart_Class *)&_sc;
 
    if (class)
      return class;
 
    _elm_image_smart_set(&_sc);
+   esc->callbacks = _smart_callbacks;
    class = &_sc;
 
    return class;
index c7d5868..bdde401 100644 (file)
@@ -133,11 +133,13 @@ elm_layout_smart_class_get(void)
    static Elm_Layout_Smart_Class _sc =
      ELM_LAYOUT_SMART_CLASS_INIT_NAME_VERSION(LAYOUT_SMART_NAME);
    static const Elm_Layout_Smart_Class *class = NULL;
+   Evas_Smart_Class *esc = (Evas_Smart_Class *)&_sc;
 
    if (class)
      return class;
 
    _elm_layout_smart_set(&_sc);
+   esc->callbacks = _smart_callbacks;
    class = &_sc;
 
    return class;