problem in xfce4-panel code

edscott wilson garcia edscott at imp.mx
Wed Feb 12 15:24:17 CET 2003


El mié, 12-02-2003 a las 01:00, Jasper Huijsmans escribió:
> Hey Edscott,
> 
> Thanks. I never thought of that. I just wrapped the gettext call in a
> translate_menu function. That should work, I guess. It's in CVS.
> 

Yes, it works all right. OTH I get the following warnings which you
might want to look into. They are probably not significant and can be
avoided with a typecast, but I'm not sure.

warnings:

icons.c: In function `set_icon_names':
icons.c:65: warning: assignment discards qualifiers from pointer target
type
icons.c:66: warning: assignment discards qualifiers from pointer target
type
icons.c:67: warning: assignment discards qualifiers from pointer target
type
icons.c:68: warning: assignment discards qualifiers from pointer target
type
icons.c:69: warning: assignment discards qualifiers from pointer target
type
icons.c:70: warning: assignment discards qualifiers from pointer target
type
icons.c:71: warning: assignment discards qualifiers from pointer target
type
icons.c:72: warning: assignment discards qualifiers from pointer target
type
icons.c:73: warning: assignment discards qualifiers from pointer target
type
icons.c:74: warning: assignment discards qualifiers from pointer target
type
icons.c:75: warning: assignment discards qualifiers from pointer target
type
icons.c:76: warning: assignment discards qualifiers from pointer target
type
icons.c:77: warning: assignment discards qualifiers from pointer target
type
item.c: In function `item_apply_config':
item.c:321: warning: passing arg 2 of `add_tooltip' discards qualifiers
from pointer target type
item.c: In function `create_addtomenu_item':
item.c:344: warning: passing arg 2 of `add_tooltip' discards qualifiers
from pointer target type
item_dialog.c: In function `create_icon_preview_frame':
item_dialog.c:618: warning: passing arg 2 of `add_tooltip' discards
qualifiers from pointer target type
item_dialog.c: In function `create_menu_item_dialog':
item_dialog.c:874: warning: assignment discards qualifiers from pointer
target type
clock.c: In function `clock_date_tooltip':
clock.c:134: warning: passing arg 2 of `add_tooltip' discards qualifiers
from pointer target type
systembuttons.c: In function `button_set_tip':
systembuttons.c:137: warning: assignment discards qualifiers from
pointer target type
systembuttons.c:138: warning: assignment discards qualifiers from
pointer target type
systembuttons.c:139: warning: assignment discards qualifiers from
pointer target type
systembuttons.c:140: warning: assignment discards qualifiers from
pointer target type
systembuttons.c: In function `systembuttons_add_options':
systembuttons.c:558: warning: assignment discards qualifiers from
pointer target type
systembuttons.c:559: warning: assignment discards qualifiers from
pointer target type
systembuttons.c:560: warning: assignment discards qualifiers from
pointer target type
systembuttons.c:561: warning: assignment discards qualifiers from
pointer target type

Edscott







More information about the Xfce4-dev mailing list