Make her compile again due to ewl changes.

SVN revision: 29328
This commit is contained in:
titan 2007-04-03 20:12:01 +00:00 committed by titan
parent bb4d112681
commit 077cfd531f
2 changed files with 12 additions and 12 deletions

View File

@ -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;

View File

@ -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;