-- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
From a173d01c2dc3b2fa72a722acf64b81d8a08b37f9 Mon Sep 17 00:00:00 2001 From: Martin Jansa <martin.ja...@gmail.com> Date: Thu, 8 Mar 2012 11:52:01 +0100 Subject: [PATCH 1/2] enjoy: fix build break from elm_genlist_item_bring_in change
* | page.c:750:4: error: too few arguments to function 'elm_genlist_item_bring_in' | /OE/shr-core/tmp-eglibc/sysroots/om-gta02/usr/include/elementary-0/elm_genlist.h:903:36: note: declared here + and 3 times more + 1 deprecated elm_genlist_item_top_bring_in Signed-off-by: Martin Jansa <martin.ja...@gmail.com> --- enjoy/src/bin/page.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/enjoy/src/bin/page.c b/enjoy/src/bin/page.c index a6c52d3..dab45d6 100644 --- a/enjoy/src/bin/page.c +++ b/enjoy/src/bin/page.c @@ -224,7 +224,7 @@ static void _page_index_changed(void *data __UNUSED__, Evas_Object *o __UNUSED__, void *event_info) { Elm_Object_Item *glit = event_info; - elm_genlist_item_top_bring_in(glit); + elm_genlist_item_bring_in(glit, ELM_GENLIST_ITEM_SCROLLTO_TOP); } static void @@ -747,7 +747,7 @@ page_songs_next_go(Evas_Object *obj) song = elm_object_item_data_get(glit); page->selected = glit; elm_genlist_item_selected_set(glit, EINA_TRUE); - elm_genlist_item_bring_in(glit); + elm_genlist_item_bring_in(glit, ELM_GENGRID_ITEM_SCROLLTO_IN); return song; } @@ -850,7 +850,7 @@ page_songs_shuffle_prev_go(Evas_Object *obj) page->selected = glit; elm_genlist_item_selected_set(glit, EINA_TRUE); - elm_genlist_item_bring_in(glit); + elm_genlist_item_bring_in(glit, ELM_GENGRID_ITEM_SCROLLTO_IN); return song; } @@ -877,7 +877,7 @@ page_songs_shuffle_next_go(Evas_Object *obj) page->selected = glit; elm_genlist_item_selected_set(glit, EINA_TRUE); - elm_genlist_item_bring_in(glit); + elm_genlist_item_bring_in(glit, ELM_GENGRID_ITEM_SCROLLTO_IN); return song; } @@ -903,7 +903,7 @@ page_songs_prev_go(Evas_Object *obj) song = elm_object_item_data_get(glit); page->selected = glit; elm_genlist_item_selected_set(glit, EINA_TRUE); - elm_genlist_item_bring_in(glit); + elm_genlist_item_bring_in(glit, ELM_GENGRID_ITEM_SCROLLTO_IN); return song; } -- 1.7.8.5
From 8b4db5dbf81f54f35e3673dac053a9728239be24 Mon Sep 17 00:00:00 2001 From: Martin Jansa <martin.ja...@gmail.com> Date: Thu, 8 Mar 2012 11:55:29 +0100 Subject: [PATCH 2/2] enjoy: fix build break with elm_genlist_compress_mode_set * elm_genlist_mode_set(page->list, ELM_LIST_COMPRESS) was already there and linker wasn't happy /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/enjoy-0.0+svnr69037-r5/enjoy/src/bin/page.c:331: undefined reference to elm_genlist_compress_mode_set Signed-off-by: Martin Jansa <martin.ja...@gmail.com> --- enjoy/src/bin/page.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/enjoy/src/bin/page.c b/enjoy/src/bin/page.c index dab45d6..6e13efc 100644 --- a/enjoy/src/bin/page.c +++ b/enjoy/src/bin/page.c @@ -328,7 +328,6 @@ _page_add(Evas_Object *parent, void *model, Eina_Iterator *it, const char *title page->list = elm_genlist_add(obj_list); elm_genlist_bounce_set(page->list, EINA_FALSE, EINA_TRUE); elm_genlist_mode_set(page->list, ELM_LIST_COMPRESS); - elm_genlist_compress_mode_set(page->list, EINA_TRUE); s = edje_object_data_get(page->edje_list, "homogeneous"); elm_genlist_homogeneous_set(page->list, s ? !!atoi(s) : EINA_FALSE); -- 1.7.8.5
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel