Fix compiler warnings
src/shell-global.c src/shell-process.c: Remove dead code src/shell-texture-cache.c src/shell-status-menu.c: Remove <foo>_new() functions that weren't in the header file and not used anyways: src/shell-texture-cache.[ch]: Fix a prototype that used () when (void) was intended. http://bugzilla.gnome.org/show_bug.cgi?id=590998
This commit is contained in:
@ -181,7 +181,7 @@ shell_overflow_list_allocate (ClutterActor *actor,
|
||||
g_list_free (children);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
shell_overflow_list_paint (ClutterActor *actor)
|
||||
{
|
||||
ShellOverflowList *self = SHELL_OVERFLOW_LIST (actor);
|
||||
@ -403,15 +403,16 @@ shell_overflow_list_get_actor_index (ShellOverflowList *self,
|
||||
{
|
||||
GList *children, *iter;
|
||||
int i;
|
||||
int result;
|
||||
|
||||
children = clutter_container_get_children (CLUTTER_CONTAINER (self));
|
||||
|
||||
if (children == NULL)
|
||||
return NULL;
|
||||
return -1;
|
||||
|
||||
iter = g_list_nth (children, (self->priv->page) * self->priv->items_per_page);
|
||||
|
||||
int result = -1;
|
||||
result = -1;
|
||||
for (i = 0; iter; iter = iter->next, i++)
|
||||
if (iter->data == actor)
|
||||
{
|
||||
|
Reference in New Issue
Block a user