[oe-commits] Martin Jansa : e-tasks: add patch for changed genlist_item_insert_before api
git version control
git at git.openembedded.org
Wed Feb 16 17:56:18 UTC 2011
Module: openembedded.git
Branch: shr/testing2011.1
Commit: 61aa414b56ce7b37acc8352ed8805b57389e6774
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=61aa414b56ce7b37acc8352ed8805b57389e6774
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Sun Jan 30 00:39:05 2011 +0100
e-tasks: add patch for changed genlist_item_insert_before api
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../e-tasks/genlist_item_insert_before.api.patch | 14 ++++++++++++++
recipes/e17/e-tasks_svn.bb | 3 ++-
2 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/recipes/e17/e-tasks/genlist_item_insert_before.api.patch b/recipes/e17/e-tasks/genlist_item_insert_before.api.patch
new file mode 100644
index 0000000..72ccc19
--- /dev/null
+++ b/recipes/e17/e-tasks/genlist_item_insert_before.api.patch
@@ -0,0 +1,14 @@
+adapt to elementary genlist_item_insert_before API change from r55869
+
+diff -uNr trunk2/src/gui.c trunk/src/gui.c
+--- trunk2/src/gui.c 2010-02-01 07:56:03.000000000 +0100
++++ trunk/src/gui.c 2011-01-30 00:36:15.000000000 +0100
+@@ -1067,7 +1067,7 @@
+ if(strcmp(sel_category, " All Tasks ")==0) strcpy(Task[i].cat, "Personal");
+ else strcpy(Task[i].cat, sel_category);
+ if(item) {
+- task_list[i] = elm_genlist_item_insert_after(list, &itc1, &Task[i], item, ELM_GENLIST_ITEM_NONE,
++ task_list[i] = elm_genlist_item_insert_after(list, &itc1, &Task[i], NULL, item, ELM_GENLIST_ITEM_NONE,
+ NULL, NULL);
+ }
+ //cater for no items in list
diff --git a/recipes/e17/e-tasks_svn.bb b/recipes/e17/e-tasks_svn.bb
index f0cb543..eff0275 100644
--- a/recipes/e17/e-tasks_svn.bb
+++ b/recipes/e17/e-tasks_svn.bb
@@ -9,9 +9,10 @@ inherit autotools
SRCREV = "25"
PV = "0.0.1+svnr${SRCPV}"
-PR = "r8"
+PR = "r9"
SRC_URI = "svn://e-tasks.googlecode.com/svn;module=trunk;proto=http \
+ file://genlist_item_insert_before.api.patch \
file://depends.eina.patch"
S = "${WORKDIR}/trunk"
More information about the Openembedded-commits
mailing list