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:
Gustavo Sverzut Barbieri 2013-11-12 17:03:49 -02:00
parent cb94643547
commit e6f2591b0c
3 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ _new_window_add(Elm_Fileselector_Button_Smart_Data *sd)
static Evas_Object *
_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);
return obj;

View File

@ -221,7 +221,7 @@ EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_
*
* @param obj The file selector button widget
* @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_fileselector_button_inwin_mode_get()

View File

@ -236,7 +236,7 @@ EAPI void elm_fileselector_entry_inwin_mode_set(Evas_Obje
* dedicated Elementary window.
*
* @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
*
* @see elm_fileselector_entry_inwin_mode_set() for more details