]> Pileus Git - ~andy/gtk/blobdiff - tests/testrecentchoosermenu.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testrecentchoosermenu.c
index 73cfafbb7d519f33aabb0a513d985e3ae1b797cf..d5822e8369782cfa0cbb92a9c91372439b0389e9 100644 (file)
@@ -12,9 +12,7 @@
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "config.h"
@@ -164,7 +162,7 @@ main (int argc, char *argv[])
   accel_group = gtk_accel_group_new ();
   gtk_window_add_accel_group (GTK_WINDOW (window), accel_group);
   
-  box = gtk_vbox_new (FALSE, 0);
+  box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
   gtk_container_add (GTK_CONTAINER (window), box);
   gtk_widget_show (box);