#include <gtk/gtk.h>

int main(int argc, char *argv[])
{
  GtkWidget *chooser;
  gint res;

  gtk_init (&argc, &argv);

  chooser = gtk_file_chooser_dialog_new ("Select files", NULL,
      GTK_FILE_CHOOSER_ACTION_OPEN,
      "_Cancel", GTK_RESPONSE_CANCEL, "_Open", GTK_RESPONSE_ACCEPT, NULL);
  g_object_set (chooser, "local-only", FALSE, "select-multiple", TRUE, NULL);

  res = gtk_dialog_run (GTK_DIALOG (chooser));

  gtk_widget_destroy (chooser);

  return 0;
}


