]> Pileus Git - ~andy/gtk/commitdiff
add set_border_width for testing
authorHavoc Pennington <hp@src.gnome.org>
Wed, 14 Nov 2001 00:33:45 +0000 (00:33 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Wed, 14 Nov 2001 00:33:45 +0000 (00:33 +0000)
tests/testtext.c

index 7f6292b47f7a82d7ea4cbced13e925ce0931f552..9c2c0a319d4fe6858b16436e5add6cc265e0d711 100644 (file)
@@ -2368,6 +2368,10 @@ create_view (Buffer *buffer)
   view->text_view = gtk_text_view_new_with_buffer (buffer->buffer);
   gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (view->text_view),
                                GTK_WRAP_WORD);
+
+  /* Make sure border width works, no real reason to do this other than testing */
+  gtk_container_set_border_width (GTK_CONTAINER (view->text_view),
+                                  10);
   
   /* Draw tab stops in the top and bottom windows. */