[9523] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] what i suppose is

daemon@ATHENA.MIT.EDU (Luyseyal)
Thu Oct 22 17:00:28 1998

Date: Thu, 22 Oct 1998 15:56:53 -0500
From: Luyseyal <luyseyal@austin.cc.tx.us>
To: gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

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.

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post