diff --git a/legacy/elementary/src/lib/Elementary.h.in b/legacy/elementary/src/lib/Elementary.h.in index 46dd2b18e6..088164c14a 100644 --- a/legacy/elementary/src/lib/Elementary.h.in +++ b/legacy/elementary/src/lib/Elementary.h.in @@ -244,7 +244,7 @@ EAPI extern Elm_Version *elm_version; #include // OK #include // XXX: needs docs #include // OK -#include +#include // OK #include #include #include diff --git a/legacy/elementary/src/lib/elm_icon.c b/legacy/elementary/src/lib/elm_icon.c index 068e730d6c..180711d999 100644 --- a/legacy/elementary/src/lib/elm_icon.c +++ b/legacy/elementary/src/lib/elm_icon.c @@ -700,7 +700,7 @@ elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group) eina_stringshare_replace(&wd->thumb.file.path, file); eina_stringshare_replace(&wd->thumb.file.key, group); - if (elm_thumb_ethumb_client_connected()) + if (elm_thumb_ethumb_client_connected_get()) { _icon_thumb_apply(wd); return ; diff --git a/legacy/elementary/src/lib/elm_photo.c b/legacy/elementary/src/lib/elm_photo.c index 841b03ae58..001d59eb69 100644 --- a/legacy/elementary/src/lib/elm_photo.c +++ b/legacy/elementary/src/lib/elm_photo.c @@ -591,7 +591,7 @@ elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group) eina_stringshare_replace(&wd->thumb.file.path, file); eina_stringshare_replace(&wd->thumb.file.key, group); - if (elm_thumb_ethumb_client_connected()) + if (elm_thumb_ethumb_client_connected_get()) { _icon_thumb_apply(wd); return ; diff --git a/legacy/elementary/src/lib/elm_thumb.c b/legacy/elementary/src/lib/elm_thumb.c index b40aa80099..fee178d6e9 100644 --- a/legacy/elementary/src/lib/elm_thumb.c +++ b/legacy/elementary/src/lib/elm_thumb.c @@ -409,7 +409,7 @@ _thumb_show(Widget_Data *wd) { evas_object_show(wd->frame); - if (elm_thumb_ethumb_client_connected()) + if (elm_thumb_ethumb_client_connected_get()) { _thumb_apply(wd); return; @@ -690,7 +690,7 @@ elm_thumb_ethumb_client_get(void) } EAPI Eina_Bool -elm_thumb_ethumb_client_connected(void) +elm_thumb_ethumb_client_connected_get(void) { return _elm_ethumb_connected; } diff --git a/legacy/elementary/src/lib/elm_thumb.h b/legacy/elementary/src/lib/elm_thumb.h index d166867547..e677a39f9a 100644 --- a/legacy/elementary/src/lib/elm_thumb.h +++ b/legacy/elementary/src/lib/elm_thumb.h @@ -7,7 +7,7 @@ * A thumb object is used for displaying the thumbnail of an image or video. * You must have compiled Elementary with Ethumb_Client support and the DBus * service must be present and auto-activated in order to have thumbnails to - * be generated. + * be generated. You must also have a Session bus, not System bus. * * Once the thumbnail object becomes visible, it will check if there is a * previously generated thumbnail image for the file set on it. If not, it @@ -126,9 +126,9 @@ EAPI void elm_thumb_file_set(Evas_Object *obj, const char EAPI void elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key); /** - * Get the path and key to the image or video generated by ethumb. + * Get the path and key to the image or video thumbnail generated by ethumb. * - * One just need to make sure that the thumbnail was generated before getting + * One just needs to make sure that the thumbnail was generated before getting * its path; otherwise, the path will be NULL. One way to do that is by asking * for the path when/after the "generate,stop" smart callback is called. * @@ -225,7 +225,7 @@ EAPI void *elm_thumb_ethumb_client_get(void); * @return EINA_TRUE if the client is connected to the server or EINA_FALSE * otherwise. */ -EAPI Eina_Bool elm_thumb_ethumb_client_connected(void); +EAPI Eina_Bool elm_thumb_ethumb_client_connected_get(void); /** * Make the thumbnail 'editable'.