[gnomemm] Gnome::UI::Items::IconXpm: wrong data type for xpm's?
- From: ERDI Gergo <cactus cactus rulez org>
- To: GNOMEmm mailing list <gnomemm-list gnome org>
- Subject: [gnomemm] Gnome::UI::Items::IconXpm: wrong data type for xpm's?
- Date: Mon, 17 Feb 2003 19:15:24 +0100 (CET)
I would expect Gnome::UI::Items::IconXpm to work with exactly the kind of
type that including an 'xpm' file produces, however, that's not the case:
form-win.cc: In member function `void
Guikachu::GUI::FormWindow::widget_menu_cb(unsigned int, unsigned int,
Guikachu::Widget*)':
form-win.cc:480: invalid conversion from `char**' to `const gchar**'
form-win.cc:480: initializing argument 1 of `
Gnome::UI::Items::IconXpm::IconXpm(const gchar**)'
For reference, an xpm file contains
static char * menu_align_left_xpm[] = { /* ... */ };
Of course, there's a workaround using const_cast, but that's hardly ideal.
Murray, could you file a bug report for me, please? (just the usual
connection problems, this time coupled with even my ISDN ISP getting
bankrupt...)
--
.--= ULLA! =---------------------. `We are not here to give users what
\ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
`---= cactus cactus rulez org =---'
INSTRUCTIONS: 1. Read instructions carefully 2. Act accordingly
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]