From cbadf177f4ec4b85f76962dc73fd421481f072af Mon Sep 17 00:00:00 2001 From: Joshua Hoff Date: Tue, 11 Oct 2011 20:42:09 -0500 Subject: [PATCH] simplify "append toolbar to menu" packing code --- src/toolbar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/toolbar.c b/src/toolbar.c index 4eb38369..05dd8d1e 100644 --- a/src/toolbar.c +++ b/src/toolbar.c @@ -480,8 +480,7 @@ void toolbar_update_ui(void) /* we need to adjust the packing flags for the menubar to expand it if it is alone in the * hbox and not expand it if the toolbar is appended */ gtk_box_set_child_packing(GTK_BOX(hbox_menubar), menubar, - ! (toolbar_prefs.visible && toolbar_prefs.append_to_menu), - ! (toolbar_prefs.visible && toolbar_prefs.append_to_menu), 0, GTK_PACK_START); + ! (toolbar_prefs.visible && toolbar_prefs.append_to_menu), TRUE, 0, GTK_PACK_START); }