]> Pileus Git - ~andy/gtk/blobdiff - tests/testmultidisplay.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testmultidisplay.c
index 9f9552673e340b794e598a22dd3c70da1c1c7201..aa78385c02b61882cfbcf534ae653d442ccac182 100644 (file)
@@ -13,9 +13,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"
@@ -77,8 +75,9 @@ make_selection_dialog (GdkScreen * screen,
 
   content_area = gtk_dialog_get_content_area (GTK_DIALOG (window));
 
-  vbox = g_object_new (GTK_TYPE_VBOX,
+  vbox = g_object_new (GTK_TYPE_BOX,
                         "border_width", 5,
+                         "orientation", GTK_ORIENTATION_VERTICAL,
                         NULL);
   gtk_box_pack_start (GTK_BOX (content_area), vbox, FALSE, FALSE, 0);