Mercurial > pidgin
changeset 4931:d80bc307e2c8
[gaim-migrate @ 5265]
I never liked that thing.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 31 Mar 2003 23:15:25 +0000 |
parents | d090282c42f7 |
children | af89e6b99c1a |
files | src/gtkconv.c |
diffstat | 1 files changed, 2 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Mon Mar 31 23:03:15 2003 +0000 +++ b/src/gtkconv.c Mon Mar 31 23:15:25 2003 +0000 @@ -2531,13 +2531,8 @@ setup_menubar(struct gaim_window *win) { struct gaim_gtk_window *gtkwin; - GtkWidget *hb; - gtkwin = GAIM_GTK_WINDOW(win); - /* Create the handle box. */ - hb = gtk_handle_box_new(); - gtkwin->menu.item_factory = gtk_item_factory_new(GTK_TYPE_MENU_BAR, "<main>", NULL); @@ -2563,12 +2558,9 @@ generate_send_as_items(win, NULL); - gtk_container_add(GTK_CONTAINER(hb), gtkwin->menu.menubar); - gtk_widget_show(gtkwin->menu.menubar); - gtk_widget_show(hb); - - return hb; + + return gtkwin->menu.menubar; } static void