#include <gtk/gtk.h>

int main (int argc, char *argv[]) {
  GtkWidget *window1;

  gtk_set_locale ();
  gtk_init (&argc, &argv);

  GtkWidget *scrolledwindow1;
  GtkWidget *textview1;

  window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (window1), "window1");

  scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow1);
  gtk_container_add (GTK_CONTAINER (window1), scrolledwindow1);

  textview1 = gtk_text_view_new ();
  gtk_widget_show (textview1);
  gtk_container_add (GTK_CONTAINER (scrolledwindow1), textview1);
  gtk_widget_set_size_request (textview1, 200, 200);
  gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (textview1), FALSE);
  gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (textview1)),
	"ceci est une putain de longue ligne qui provoque le putain de bug de wrapping de merde du GtkTextView.", -1);
  gtk_widget_show (window1);

  gtk_main ();
  return 0;
}

