#include <gtk/gtk.h>

int
main (int argc, char *argv[])
{
  GtkWidget *window, *label;
  char *title;
  int i;

  gtk_init (&argc, &argv);

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  label = gtk_label_new ("Test test test test test test test!");

  gtk_container_add (GTK_CONTAINER (window), label);

  title = g_malloc (128 * 1024 + 1);
  for (i = 0; i < 128 * 1024; i++) title[i] = 'X';
  title[128 * 1024] = '\0';
  gtk_window_set_title (GTK_WINDOW (window), title);
  g_free (title);

  gtk_widget_show_all (window);

  gtk_main ();
  
  return 0;
}

