Animation_Wallpaper_TYPE_HOME_PLUGIN,\
Animation_WallpaperPrivate))
-
/* Position of plugin on desktop */
#define Xstartposition 700
-#define Ystartposition 425
+#define Ystartposition 425
gint xapplet = 0, yapplet = 0;
GSList * objects_list = NULL;
}
static gboolean
-plugin_on_timeout (gpointer data)
+plugin_on_timeout (AWallpaperPlugin *desktop_plugin)
{
gint daytime = get_daytime();
GSList * tmp;
animation_wallpaper_plugin_init (AWallpaperPlugin *desktop_plugin)
{
GtkWidget *label;
+/* This code doesn't work */
+// fprintf(stderr,"ddddddddddddd\n");
+// desktop_plugin->priv = Animation_Wallpaper_HOME_PLUGIN_GET_PRIVATE(desktop_plugin);
+// fprintf(stderr,"ddddddddddddd\n");
label = gtk_label_new ("");
+ //desktop_plugin->priv->main_widget = label;
gtk_widget_set_size_request(label, 95, 30);
gtk_widget_show (label);
hd_home_plugin_item_set_settings (HD_HOME_PLUGIN_ITEM (desktop_plugin), TRUE);
struct _Animation_WallpaperPrivate
{
gpointer data;
+ GtkWidget *main_widget;
};
void live_wallpaper_settings(GtkWidget *widget, gpointer user_data);
MultiActor *multiactor_init(gchar * name, GSList * child, gint x, gint y, gint z, double scale, gboolean visible);