"gtk_box_pack_end()" expects a GtkBox, not a GtkContainer, as its first
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 5 Mar 2003 20:12:04 +0000 (20:12 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 5 Mar 2003 20:12:04 +0000 (20:12 +0000)
argument.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7289 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/io_stat.c

index 34d41ee5b2a11a16b8aa2f66e3f45f117677c371..5b15325a80d63a3d65367fc76e353e615c3c20b4 100644 (file)
@@ -1,7 +1,7 @@
 /* io_stat.c
  * io_stat   2002 Ronnie Sahlberg
  *
- * $Id: io_stat.c,v 1.17 2003/03/05 15:54:31 gerald Exp $
+ * $Id: io_stat.c,v 1.18 2003/03/05 20:12:04 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -1624,7 +1624,7 @@ init_io_stat_window(io_stat_t *io)
        create_draw_area(io, vbox);
 
        hbox=gtk_hbox_new(FALSE, 0);
-       gtk_box_pack_end(GTK_CONTAINER(vbox), hbox, FALSE, FALSE, 5);
+       gtk_box_pack_end(GTK_BOX(vbox), hbox, FALSE, FALSE, 5);
        gtk_box_set_child_packing(GTK_BOX(vbox), hbox, FALSE, FALSE, 0, GTK_PACK_START);
        gtk_widget_show(hbox);