#include <hildon/hildon.h>
#include "milk-main-window.h"
+#include "milk-auth.h"
#include "milk-task.h"
#include "milk-task-model.h"
struct _MilkMainWindowPrivate
{
+ MilkAuth *auth;
+
GtkWidget *app_menu;
GtkWidget *main_vbox;
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (col), renderer, TRUE);
gtk_cell_layout_set_cell_data_func (
GTK_CELL_LAYOUT (col), renderer,
- (GtkTreeCellDataFunc) contact_column_render_func, self,
- NULL);
+ (GtkCellLayoutDataFunc) contact_column_render_func,
+ self, NULL);
g_object_unref (model);
hildon_touch_selector_set_column_selection_mode (
priv->app_menu = create_menu (self);
hildon_window_set_app_menu (
HILDON_WINDOW (self), HILDON_APP_MENU (priv->app_menu));
+
+ /* FIXME: is there a better place for this? */
+ priv->auth = milk_auth_get_default ();
+ /* FIXME: plug this into the task model */
+
+ /* FIXME: cut this */
+ g_debug ("trying to run the milk auth demo");
+ /* FIXME: cut this */
+ milk_auth_run_demo (priv->auth);
}
static void