removed unusable code
authorVlad Vasiliev <vlad@toshiba2.oblgaz>
Sat, 27 Mar 2010 19:59:14 +0000 (21:59 +0200)
committerVlad Vasiliev <vlad@toshiba2.oblgaz>
Sat, 27 Mar 2010 19:59:14 +0000 (21:59 +0200)
applet/src/livewp-home-widget.c

index ae290ca..650ad21 100644 (file)
@@ -180,18 +180,6 @@ init_object(gchar * name, gint x, gint y, gint z, gint width, gint height)
                            G_CALLBACK(expose_event), pixbuf);
   gtk_container_add (GTK_CONTAINER (actor), image);
 
-   pixbuf = gdk_pixbuf_new_from_file_at_size ("/usr/share/anwall/cloud1.png", 
-                                             width, 
-                                             height, 
-                                             NULL);
-  if (pixbuf){
-      image = gtk_image_new_from_pixbuf (pixbuf);
-      g_object_unref(G_OBJECT(pixbuf));
-  }
-  g_signal_connect(G_OBJECT(image), "expose_event",
-                           G_CALLBACK(expose_event), pixbuf);
-
-  gtk_container_add (GTK_CONTAINER (actor), image);
   actor_set_position_full(actor, x, y, z);
   hildon_animation_actor_set_show (actor, 1);
   realize(actor);
@@ -244,7 +232,7 @@ init_scene(GtkWidget *window)
 
 }
 
-static void 
+void 
 get_sun_screen_pos(double alt, double azm, gint * x, gint * y)
 {
     gint y0 = 400;// - уровень горизонта