projects
/
livewp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cda8977
)
deleted unusable value
author
tanya
<tanya@tanin.oblgaz>
Sat, 10 Apr 2010 05:31:30 +0000
(08:31 +0300)
committer
tanya
<tanya@tanin.oblgaz>
Sat, 10 Apr 2010 05:31:30 +0000
(08:31 +0300)
applet/src/livewp-home-widget.c
patch
|
blob
|
history
diff --git
a/applet/src/livewp-home-widget.c
b/applet/src/livewp-home-widget.c
index
cdc79b5
..
1ce9127
100644
(file)
--- 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;
init_scene(AWallpaperPlugin *desktop_plugin)
{
Actor *actor;
- GSList * list = NULL;
- gchar str[256];
fprintf(stderr, "init scene \n");
scene.daytime = get_daytime();
fprintf(stderr, "init scene \n");
scene.daytime = get_daytime();
@@
-568,10
+566,6
@@
static void
init_scene1(AWallpaperPlugin *desktop_plugin)
{
Actor *actor;
init_scene1(AWallpaperPlugin *desktop_plugin)
{
Actor *actor;
- GdkPixbuf *pixbuf;
- GtkWidget *image;
- double alt, azm;
- gint x, y;
scene.daytime = get_daytime();
scene.actors = NULL;
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->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);
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);