
// gcc -o test-auth `pkg-config --libs --cflags libgnomeui-2.0` test-auth.c

#include <gtk/gtk.h>
#include <gnome.h>

int main (int argc, char **argv)
{
	GtkWidget *window, *button;

	gnome_program_init ("test-auth", "0.1",
			LIBGNOMEUI_MODULE,
			argc, argv,
			GNOME_PARAM_NONE);

	gnome_vfs_init ();

	gnome_authentication_manager_init ();

	window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
	button = gtk_file_chooser_button_new_with_backend ("Test",
			GTK_FILE_CHOOSER_ACTION_OPEN,
			"gnome-vfs");

	gtk_container_add (GTK_CONTAINER (window), button);
	gtk_widget_show_all (window);

	gtk_main ();
}

