Re: hacking-0.28.1: gnome-panel: menu.c: In function `add_item': menu.c:3173: too many arguments



Same here on a RH9 :

in menu.c, replacing line 3173 :

NULL, FALSE, NULL);

by

NULL, FALSE);//, NULL);

does the trick.
 

On Sat, 2003-11-22 at 17:37, Mario Vukelic wrote:
> On Sat, 2003-11-22 at 17:05, Mario Vukelic wrote:
> 
> > menu.c: In function `add_item':
> > menu.c:3173: too many arguments to function `panel_menu_button_create'
> 
> panel_menu_button_create is defined in line 763 in panel-menu-button.c
> as accepting 4 arguments:
> 
> panel_menu_button_create (PanelToplevel *toplevel,
>                           int            position,
>                           const char    *menu_path,
>                           gboolean       use_menu_path)
> 
> In menu.c, function add_item(), on line 3172, it is tried to pass 5
> arguments:
> 
> if (strcmp (item_id, "MENU:MAIN") == 0) {
>         panel_menu_button_create (panel_widget->toplevel, -1,
>                                   NULL, FALSE, NULL);
>         return;
> }
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]