Add elm_win_indicator_state_set
authorRusty Lynch <rusty.lynch@intel.com>
Wed, 19 Dec 2012 23:16:11 +0000 (15:16 -0800)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 22 Jan 2014 10:55:59 +0000 (11:55 +0100)
This function exist in the Tizen 2.0 elementary tree with a simple
comment that calls it a 'wrapper'.  The rpm-installer can not build
without this.

src/lib/elm_win.c
src/lib/elm_win.h

index 15136658f1a842e3a0765fbac42d4b69d75fa53b..4fafa6c8edf65e4d2456bdcea9c5f53d146f25d0 100644 (file)
@@ -4689,6 +4689,13 @@ _indicator_mode_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
    evas_object_smart_callback_call(obj, SIG_INDICATOR_PROP_CHANGED, NULL);
 }
 
+// Wrapper that only exist in the Tizen 2.0 Elementary tree
+EAPI void
+elm_win_indicator_state_set(Evas_Object *obj, Elm_Win_Indicator_Mode mode)
+{
+   elm_win_indicator_mode_set(obj, mode);
+}
+
 EAPI Elm_Win_Indicator_Mode
 elm_win_indicator_mode_get(const Evas_Object *obj)
 {
index f231ae76ac1963612050efa5005b567e7742563a..5cb8390150b98389b5da06055334270c9d9f2571 100644 (file)
 #include <elm_win_legacy.h>
 #endif
 
+// Wrapper that only exist in the Tizen 2.0 elementary tree
+EAPI void elm_win_indicator_state_set(Evas_Object *obj, Elm_Win_Indicator_Mode mode);
+
 /**
  * @}
  */