]> Pileus Git - ~andy/gtk/blobdiff - gtk/tests/crossingevents.c
filechooserbutton: Don't show the (None) item when the combo box is popped up
[~andy/gtk] / gtk / tests / crossingevents.c
index 55eaaf3ce2059cf47239b05def77e8ae0f0d9a8a..be210f3c17dd277270b79d3cace61dbcb33ef8c6 100644 (file)
@@ -14,9 +14,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., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <gtk/gtk.h>
@@ -144,7 +142,7 @@ sensitivity_setup (CrossingTest *test,
   test->eventbox = gtk_event_box_new ();
   gtk_widget_set_name (test->eventbox, "E");
 
-  GtkWidget *vbox = gtk_vbox_new (FALSE, 10);
+  GtkWidget *vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 10);
   gtk_container_add (GTK_CONTAINER (test->window), frame);
   gtk_container_add (GTK_CONTAINER (frame), test->eventbox);
   gtk_container_add (GTK_CONTAINER (test->eventbox), vbox);