From 077cfd531fdf06bafee5835da4cd2fe95c1526c0 Mon Sep 17 00:00:00 2001 From: titan Date: Tue, 3 Apr 2007 20:12:01 +0000 Subject: [PATCH] Make her compile again due to ewl changes. SVN revision: 29328 --- src/bin/ephoto_list_view.c | 12 ++++++------ src/bin/ephoto_main.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/bin/ephoto_list_view.c b/src/bin/ephoto_list_view.c index f093cd9..05d0526 100644 --- a/src/bin/ephoto_list_view.c +++ b/src/bin/ephoto_list_view.c @@ -1,9 +1,9 @@ #include "ephoto.h" -static Ewl_Widget *list_view_new(void *data, int column, int row); -static Ewl_Widget *list_header_fetch(void *data, int column); +static Ewl_Widget *list_view_new(void *data, unsigned int row, unsigned int column); +static Ewl_Widget *list_header_fetch(void *data, unsigned int column); static void *list_data_fetch(void *data, unsigned int row, unsigned int column); -static int list_data_count(void *data); +static unsigned int list_data_count(void *data); /*Add the list view*/ Ewl_Widget *add_list_view(Ewl_Widget *c) @@ -54,7 +54,7 @@ Ewl_Widget *add_ltree(Ewl_Widget *c) /* The view of the images */ -static Ewl_Widget *list_view_new(void *data, int row, int column) +static Ewl_Widget *list_view_new(void *data, unsigned int row, unsigned int column) { const char *image; char info[PATH_MAX]; @@ -85,7 +85,7 @@ static Ewl_Widget *list_view_new(void *data, int row, int column) } /* The header for the tree */ -static Ewl_Widget *list_header_fetch(void *data, int column) +static Ewl_Widget *list_header_fetch(void *data, unsigned int column) { Ewl_Widget *label; @@ -110,7 +110,7 @@ static void *list_data_fetch(void *data, unsigned int row, unsigned int column) } /* The number of images the view is displaying */ -static int list_data_count(void *data) +static unsigned int list_data_count(void *data) { int val; diff --git a/src/bin/ephoto_main.c b/src/bin/ephoto_main.c index bf0de89..847f713 100644 --- a/src/bin/ephoto_main.c +++ b/src/bin/ephoto_main.c @@ -9,10 +9,10 @@ static void window_fullscreen(Ewl_Widget *w, void *event, void *data); static Ewl_Widget *add_atree(Ewl_Widget *c); /*Ephoto MVC Callbacks*/ -static Ewl_Widget *album_view_new(void *data, int column, int row); -static Ewl_Widget *album_header_fetch(void *data, int column); +static Ewl_Widget *album_view_new(void *data, unsigned int row, unsigned int column); +static Ewl_Widget *album_header_fetch(void *data, unsigned int column); static void *album_data_fetch(void *data, unsigned int row, unsigned int column); -static int album_data_count(void *data); +static unsigned int album_data_count(void *data); /*Ephoto Global Variables*/ Ephoto_Main *em; @@ -203,7 +203,7 @@ static Ewl_Widget *add_atree(Ewl_Widget *c) /* The view of the users albums */ -static Ewl_Widget *album_view_new(void *data, int column, int row) +static Ewl_Widget *album_view_new(void *data, unsigned int row, unsigned int column) { const char *album; Ewl_Widget *icon; @@ -226,7 +226,7 @@ static Ewl_Widget *album_view_new(void *data, int column, int row) } /* The header for the tree */ -static Ewl_Widget *album_header_fetch(void *data, int column) +static Ewl_Widget *album_header_fetch(void *data, unsigned int column) { Ewl_Widget *label; @@ -251,7 +251,7 @@ static void *album_data_fetch(void *data, unsigned int row, unsigned int column) } /* The number of albums the view is displaying */ -static int album_data_count(void *data) +static unsigned int album_data_count(void *data) { int val;