Skip to content

Commit

Permalink
Fix compiler warnings.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3236 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
jdavisp3 committed Dec 5, 2000
1 parent c2cfb72 commit 9f1092b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/gnome/window-main.c
Expand Up @@ -878,11 +878,9 @@ gnc_account_tree_activate_cb(GNCMainWinAccountTree *tree,
static void
gnc_configure_account_tree(void *data)
{
GtkObject *app;
GNCMainInfo *info;
GNCMainWinAccountTree *tree;
AccountViewInfo new_avi;
AccountViewInfo old_avi;
GSList *list, *node;

memset(&new_avi, 0, sizeof(new_avi));
Expand Down Expand Up @@ -1100,7 +1098,6 @@ static void
gnc_main_create_menus(GnomeApp *app, GtkWidget *account_tree,
GNCMainInfo *main_info)
{
GtkWidget *popup;
GSList *list;

static GnomeUIInfo filemenu[] =
Expand Down Expand Up @@ -1300,7 +1297,8 @@ gnc_main_create_menus(GnomeApp *app, GtkWidget *account_tree,
list = g_slist_prepend(list, accountsmenu[6].widget);
list = g_slist_prepend(list, accountsmenu[9].widget);

gnc_mainwin_account_tree_attach_popup(account_tree, accountsmenu);
gnc_mainwin_account_tree_attach_popup
(GNC_MAINWIN_ACCOUNT_TREE (account_tree), accountsmenu);

list = g_slist_prepend(list, scrubmenu[0].widget);
list = g_slist_prepend(list, scrubmenu[1].widget);
Expand Down

0 comments on commit 9f1092b

Please sign in to comment.