forked from enlightenment/efl
elementary: Fixes copy&paste error and possible invalid memory access.
Patch by Igor Murzov <e-mail@date.by> SVN revision: 77397
This commit is contained in:
parent
4e92316193
commit
441a2ef861
|
@ -64,3 +64,4 @@ Minseok Kim <minseok3.kim@samsung.com>
|
||||||
Jean-Philippe André <jpeg@videolan.org>
|
Jean-Philippe André <jpeg@videolan.org>
|
||||||
JiHyeon Seol <jihyeon.seol@samsung.com>
|
JiHyeon Seol <jihyeon.seol@samsung.com>
|
||||||
Flavio Ceolin <flavio.ceolin@profusion.mobi>
|
Flavio Ceolin <flavio.ceolin@profusion.mobi>
|
||||||
|
Igor Murzov <e-mail@date.by>
|
|
@ -555,3 +555,8 @@
|
||||||
|
|
||||||
* add elm_calendar_displayed_time_get
|
* add elm_calendar_displayed_time_get
|
||||||
* add a signal display,changed to elm_calendar
|
* add a signal display,changed to elm_calendar
|
||||||
|
|
||||||
|
2012-10-04 Igor Murzov
|
||||||
|
|
||||||
|
* fix copy&paste error in elm_flip.
|
||||||
|
* fix possible invalid memory access in elm_access.
|
||||||
|
|
|
@ -34,6 +34,8 @@ Fixes:
|
||||||
* Escape theme filename correctly.
|
* Escape theme filename correctly.
|
||||||
* Fix diskselector selection of middle item.
|
* Fix diskselector selection of middle item.
|
||||||
* Fix multibuttonentry list corruption.
|
* Fix multibuttonentry list corruption.
|
||||||
|
* Fix copy&paste error in elm_flip.
|
||||||
|
* Fix possible invalid memory access in elm_access.
|
||||||
|
|
||||||
Removals:
|
Removals:
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ _button_create(Evas_Object *parent, const char *label)
|
||||||
EAPI_MAIN int
|
EAPI_MAIN int
|
||||||
elm_main(int argc, char **argv)
|
elm_main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
Evas_Object *win, *bg, *btn, *layout, *tbl_items[3];
|
Evas_Object *win, *bg, *btn, *layout, *tbl_items[6];
|
||||||
const char *labels[] = {"One", "Two", "Three", "Four", "Five", "Six"};
|
const char *labels[] = {"One", "Two", "Three", "Four", "Five", "Six"};
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
|
@ -691,13 +691,13 @@ _access_item_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
|
||||||
EAPI void
|
EAPI void
|
||||||
_elm_access_widget_item_register(Elm_Widget_Item *item)
|
_elm_access_widget_item_register(Elm_Widget_Item *item)
|
||||||
{
|
{
|
||||||
Evas_Object *ao;
|
Evas_Object *ao, *ho;
|
||||||
Evas_Object *ho = item->view;
|
|
||||||
Evas_Coord x, y, w, h;
|
Evas_Coord x, y, w, h;
|
||||||
|
|
||||||
if (!item) return;
|
if (!item) return;
|
||||||
|
|
||||||
// create access object
|
// create access object
|
||||||
|
ho = item->view;
|
||||||
ao = _elm_access_add(item->widget);
|
ao = _elm_access_add(item->widget);
|
||||||
evas_object_event_callback_add(ho, EVAS_CALLBACK_RESIZE,
|
evas_object_event_callback_add(ho, EVAS_CALLBACK_RESIZE,
|
||||||
_content_resize, ao);
|
_content_resize, ao);
|
||||||
|
|
|
@ -874,7 +874,7 @@ _flip_show_hide(Evas_Object *obj)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (sd->front.content)
|
if (sd->front.content)
|
||||||
evas_object_hide(sd->front.clip);
|
evas_object_show(sd->front.clip);
|
||||||
else
|
else
|
||||||
evas_object_hide(sd->front.clip);
|
evas_object_hide(sd->front.clip);
|
||||||
if (sd->back.content)
|
if (sd->back.content)
|
||||||
|
|
Loading…
Reference in New Issue