#include 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); #define LENGTH 16 * 128 * 1024 title = g_malloc (LENGTH + 1); for (i = 0; i < LENGTH; i++) title[i] = 'X'; title[LENGTH] = '\0'; gtk_window_set_title (GTK_WINDOW (window), title); g_free (title); gtk_widget_show_all (window); gtk_main (); return 0; }