The Mudcat Café TM
Thread #59418 Message #1332413
Posted By: Rapparee
19-Nov-04 - 11:20 AM
Thread Name: BS: The Mother of all BS threads
Subject: RE: BS: The Mother of all BS threads
Here's one. I've put the k-word in bold italics.
int main(int argc,char *argv[])
{
GladeXML *gx;
GtkWidget *w;
gtk_init(&argc,&argv);
gx=glade_xml_new("idea85.glade",NULL,NULL);
g_assert(gx != NULL);
if !> NULL then do something else;
glade_xml_signal_autoconnect(gx);
w=glade_xml_get_widget(gx,"window1");
g_signal_connect(G_OBJECT(w),"destroy",G_CALLBACK(gtk_main_quit),NULL);
gtk_widget_show_all(w);