]> Pileus Git - ~andy/gtk/blobdiff - tests/testellipsise.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testellipsise.c
index b9a92c21ec44b348334c988d1004f48e94d52ac1..5680e1321601167a49dc26dfdba447eb20f5b7b4 100644 (file)
@@ -12,8 +12,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.Free
  */
 
 /*
@@ -133,7 +132,7 @@ main (int argc, char *argv[])
   gtk_window_set_default_size (GTK_WINDOW (window), 400, 300);
   g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
 
-  vbox = gtk_vbox_new (FALSE, 6);
+  vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
   gtk_container_add (GTK_CONTAINER (window), vbox);
 
   combo = gtk_combo_box_text_new ();