#include <gtk/gtk.h>

int main(int argc, char **argv)
{
    GtkWidget* window, *view;

    gtk_init(&argc, &argv);

    window = gtk_offscreen_window_new ();
    view = gtk_text_view_new ();
    gtk_container_add (GTK_CONTAINER (window), view);
    gtk_widget_show_all (window);

    gtk_main();

    return 0;
}
