
#include "assist.h"







void add_setup_page (GtkAssistant* assist) {
	GtkLabel* label;
	g_return_if_fail (assist != NULL);
	label = g_object_ref_sink ((GtkLabel*) gtk_label_new ("setup label"));
	gtk_assistant_append_page (assist, (GtkWidget*) label);
	gtk_container_child_set ((GtkContainer*) assist, (GtkWidget*) label, "title", "Setup", "page-type", GTK_ASSISTANT_PAGE_CONFIRM, "complete", TRUE, NULL);
	(label == NULL) ? NULL : (label = (g_object_unref (label), NULL));
}


void add_summary_page (GtkAssistant* assist) {
	GtkLabel* label;
	g_return_if_fail (assist != NULL);
	label = g_object_ref_sink ((GtkLabel*) gtk_label_new ("summary label"));
	gtk_assistant_append_page (assist, (GtkWidget*) label);
	gtk_container_child_set ((GtkContainer*) assist, (GtkWidget*) label, "title", "Summary", "page-type", GTK_ASSISTANT_PAGE_SUMMARY, NULL);
	(label == NULL) ? NULL : (label = (g_object_unref (label), NULL));
}


void setup (void) {
	GtkAssistant* assist;
	assist = g_object_ref_sink ((GtkAssistant*) gtk_assistant_new ());
	gtk_window_set_title ((GtkWindow*) assist, "Assist");
	add_setup_page (assist);
	add_summary_page (assist);
	gtk_widget_show_all ((GtkWidget*) assist);
	(assist == NULL) ? NULL : (assist = (g_object_unref (assist), NULL));
}


gint _main (char** args, int args_length1) {
	gtk_init (&args_length1, &args);
	setup ();
	gtk_main ();
	return 0;
}


int main (int argc, char ** argv) {
	g_type_init ();
	return _main (argv, argc);
}




