forked from enlightenment/efl
fix doc typo and breakage due widget_type case changes.
elm_widget_type_get() is not lowercase anymoe, rather "Elm_Win". As other parts of the elementary source were using evas_object_type_get() use it, and it still returns the legacy lowercase name.
This commit is contained in:
parent
cb94643547
commit
e6f2591b0c
|
@ -108,7 +108,7 @@ _new_window_add(Elm_Fileselector_Button_Smart_Data *sd)
|
||||||
static Evas_Object *
|
static Evas_Object *
|
||||||
_parent_win_get(Evas_Object *obj)
|
_parent_win_get(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
while ((obj) && (strcmp(elm_widget_type_get(obj), "elm_win")))
|
while ((obj) && (strcmp(evas_object_type_get(obj), "elm_win")))
|
||||||
obj = elm_object_parent_widget_get(obj);
|
obj = elm_object_parent_widget_get(obj);
|
||||||
|
|
||||||
return obj;
|
return obj;
|
||||||
|
|
|
@ -221,7 +221,7 @@ EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_
|
||||||
*
|
*
|
||||||
* @param obj The file selector button widget
|
* @param obj The file selector button widget
|
||||||
* @param value @c EINA_TRUE to make it use an inner window, @c
|
* @param value @c EINA_TRUE to make it use an inner window, @c
|
||||||
* EINA_TRUE to make it use a dedicated window
|
* EINA_FALSE to make it use a dedicated window
|
||||||
*
|
*
|
||||||
* @see elm_win_inwin_add() for more information on inner windows
|
* @see elm_win_inwin_add() for more information on inner windows
|
||||||
* @see elm_fileselector_button_inwin_mode_get()
|
* @see elm_fileselector_button_inwin_mode_get()
|
||||||
|
|
|
@ -236,7 +236,7 @@ EAPI void elm_fileselector_entry_inwin_mode_set(Evas_Obje
|
||||||
* dedicated Elementary window.
|
* dedicated Elementary window.
|
||||||
*
|
*
|
||||||
* @param obj The file selector entry widget
|
* @param obj The file selector entry widget
|
||||||
* @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
|
* @return @c EINA_TRUE if will use an inner window, @c EINA_FALSE
|
||||||
* if it will use a dedicated window
|
* if it will use a dedicated window
|
||||||
*
|
*
|
||||||
* @see elm_fileselector_entry_inwin_mode_set() for more details
|
* @see elm_fileselector_entry_inwin_mode_set() for more details
|
||||||
|
|
Loading…
Reference in New Issue