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:
Owen W. Taylor
2009-08-06 16:39:15 -04:00
parent e89d3c7b07
commit d243634602
7 changed files with 8 additions and 67 deletions

View File

@ -23,7 +23,6 @@ shell_stack_allocate (ClutterActor *self,
const ClutterActorBox *box,
ClutterAllocationFlags flags)
{
ClutterGroupPrivate *priv = CLUTTER_GROUP (self)->priv;
GList *children, *iter;
/* chain up to set actor->allocation */
@ -138,7 +137,6 @@ shell_stack_get_preferred_width (ClutterActor *actor,
static void
shell_stack_class_init (ShellStackClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);
actor_class->get_preferred_width = shell_stack_get_preferred_width;