/*******************************************************************************/
#include <hildon-cp-plugin/hildon-cp-plugin-interface.h>
#include <gtk/gtk.h>
-
+void lw_settings(Animation_WallpaperPrivate *priv, gpointer data);
+gint read_config(Animation_WallpaperPrivate *priv);
+void livewp_initialize_dbus(Animation_WallpaperPrivate *priv);
GtkWidget *button;
button = hildon_check_button_new (HILDON_SIZE_AUTO);
gtk_button_set_label (GTK_BUTTON (button), _("Enable"));
- hildon_check_button_set_active(button, active);
+ hildon_check_button_set_active(HILDON_CHECK_BUTTON(button), active);
return button;
}
priv->theme = g_strdup("Matrix");
}
/* Check rich animation */
- if (hildon_check_button_get_active (rich_animation_button))
+ if (hildon_check_button_get_active (HILDON_CHECK_BUTTON(rich_animation_button)))
priv->rich_animation = TRUE;
else
priv->rich_animation = FALSE;
/* Save config */
save_config(priv);
/* action with applet */
- if (hildon_check_button_get_active (enable_button)){
+ if (hildon_check_button_get_active (HILDON_CHECK_BUTTON(enable_button))){
if (!check_applet_state())
start_applet();
else