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>
Tue, 22 Apr 2014 11:21:26 +0000 (13:21 +0200)
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 b64c9442d6bc9525a9d99eb21f0560a892eddc3e..4f385db19969677b7cb77063fdbf39d2bf3d3cbd 100644 (file)
@@ -4981,6 +4981,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 cfb480bc0f7e21dff4cf8b525870078a971c7ddf..dc3015eda14aec12b5253d0818e2eea3612a18d3 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);
+
 /**
  * @}
  */