Elm win: Add a warning to wl_id_get func.
authorTom Hacohen <tom@stosb.com>
Mon, 20 Apr 2015 09:18:42 +0000 (10:18 +0100)
committerTom Hacohen <tom@stosb.com>
Mon, 20 Apr 2015 09:18:42 +0000 (10:18 +0100)
As discussed on IRC, users of this API should be warned, as it's
almost always a bad idea.

src/lib/elm_win_legacy.h

index 42bd662..42a875f 100644 (file)
@@ -184,6 +184,9 @@ EAPI void                  elm_win_render(Evas_Object *obj);
 /**
  * Get the Ecore_Wl_Window of an Evas_Object
  *
+ * Do not use this function if you'd like your application/library be portable.
+ * You have been warned.
+ *
  * @param obj the object
  *
  * @return The Ecore_Wl_Window of @p obj