/* Test case, bug 701119 - Error messages when GtkAboutDialog shows license info */

#include <gtk/gtk.h>

int
main (int argc, char **argv)
{
  GtkWidget* dialog;
  gtk_init (&argc, &argv);

  dialog = gtk_about_dialog_new ();
  g_object_ref_sink (dialog);

  g_signal_connect (dialog, "delete-event", gtk_main_quit, NULL);
  g_signal_connect (dialog, "response", gtk_main_quit, NULL);

  gtk_about_dialog_set_license (GTK_ABOUT_DIALOG (dialog), "Use as you like.");

  gtk_widget_show_all (dialog);

  gtk_main ();

  return 0;
}
