/* gcc -o dialog -g dialog.c $(pkg-config --cflags --libs gtk+-3.0) */

#include <gtk/gtk.h>
gint
main (gint argc, gchar *argv[])
{
  GtkWidget *window;

  gtk_init (NULL, NULL);

  window = gtk_dialog_new ();
  gtk_window_set_default_size (GTK_WINDOW (window), 450, 200);
  g_signal_connect (window, "delete-event", G_CALLBACK (gtk_main_quit), NULL);
  g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);

  gtk_widget_show_all (window);
  gtk_main ();

  return 0;
}
