From: tanya Date: Sat, 10 Apr 2010 05:31:30 +0000 (+0300) Subject: deleted unusable value X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=df68479fd06231032ab05e554c0ea599ebfc6ffc;p=livewp deleted unusable value --- diff --git a/applet/src/livewp-home-widget.c b/applet/src/livewp-home-widget.c index cdc79b5..1ce9127 100644 --- a/applet/src/livewp-home-widget.c +++ b/applet/src/livewp-home-widget.c @@ -503,8 +503,6 @@ static void init_scene(AWallpaperPlugin *desktop_plugin) { Actor *actor; - GSList * list = NULL; - gchar str[256]; fprintf(stderr, "init scene \n"); scene.daytime = get_daytime(); @@ -568,10 +566,6 @@ static void init_scene1(AWallpaperPlugin *desktop_plugin) { Actor *actor; - GdkPixbuf *pixbuf; - GtkWidget *image; - double alt, azm; - gint x, y; scene.daytime = get_daytime(); scene.actors = NULL; @@ -582,7 +576,7 @@ init_scene1(AWallpaperPlugin *desktop_plugin) actor->duration_animation = G_MAXINT; change_sun(actor, desktop_plugin); scene.actors = g_slist_append(scene.actors, actor); - + actor = init_object(desktop_plugin, "sky", "sky.png", 0, 0, SKY_LEVEL, 800, 480, TRUE, 100, 255, &change_static_actor, NULL); change_static_actor(actor, desktop_plugin);