Mercurial > dwindows
comparison gtk/dw.c @ 1046:80cd7fed4995
Fix for an attempted change that causes issues with menubar packing on GTK depending on the box direction.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 27 May 2011 09:20:19 +0000 |
parents | 2c2fcfeeffcc |
children | 818698b4a0df |
comparison
equal
deleted
inserted
replaced
1045:625fa470dcf0 | 1046:80cd7fed4995 |
---|---|
10611 { | 10611 { |
10612 /* Only show warning if item is not a box */ | 10612 /* Only show warning if item is not a box */ |
10613 warn = TRUE; | 10613 warn = TRUE; |
10614 } | 10614 } |
10615 | 10615 |
10616 gtk_box_pack_start(GTK_BOX(vbox), item, TRUE, TRUE, 0); | 10616 gtk_box_pack_end(GTK_BOX(vbox), item, TRUE, TRUE, 0); |
10617 | 10617 |
10618 gtk_widget_set_usize(item, width, height); | 10618 gtk_widget_set_usize(item, width, height); |
10619 gtk_object_set_user_data(GTK_OBJECT(box), vbox); | 10619 gtk_object_set_user_data(GTK_OBJECT(box), vbox); |
10620 } | 10620 } |
10621 DW_MUTEX_UNLOCK; | 10621 DW_MUTEX_UNLOCK; |