#include <gtk/gtk.h>

int
main (int argc, char **argv)
{
	GtkWidget      *chooser;
	GtkWindowGroup *group;

	gtk_init (&argc, &argv);

	chooser = gtk_file_chooser_dialog_new ("Foo", NULL,
			GTK_FILE_CHOOSER_ACTION_OPEN,
			GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
			GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
			NULL);

	group = gtk_window_group_new ();
	gtk_window_group_add_window (group, GTK_WINDOW (chooser));

	gtk_dialog_run (GTK_DIALOG (chooser));

	return 0;
}
