what i suppose is
- From: Luyseyal <luyseyal austin cc tx us>
- To: gtk-list redhat com
- Subject: what i suppose is
- Date: Thu, 22 Oct 1998 15:56:53 -0500
a newbie question.
what is:
Gtk-WARNING **: invalid unclassed pointer in cast to `GtkCList'
-------------SNIP>
void init_clist(GtkWidget *clist,gint col) /* sets up clist w/ labels
and such */
{
...
clist=gtk_clist_new(col);
...
}
void ife_print(struct interface *ptr, GtkWidget *clist, gint col)
/*appends rows with */
/*ife->name */
if_print(char *ifname, GtkWidget *clist) /*counts ife's and passes to
ife_print to print*/
{
...
/*loop counting # of ife's*/
init_clist(clist, col);
ife_print(&ife,clist,col);
...
}
i'm essentially hacking ifconfig to work w/ gtk+, so if anyone's
familiar
with that source it may help you help me better. :-)
if i need to pass a &clist somewhere, please give me an idea of what
i need to change in init_clist for clist=gtk_clist_new(col) to work
right.
immense gratitude,
-l
--
It is illegal to say "Oh, Boy" in Jonesboro, Georgia.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]