GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Aug 31, 2016 6:03 am

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: why my application hanging
PostPosted: Thu Sep 13, 2007 7:23 am 
GTK+ Geek

Joined: Fri Oct 06, 2006 6:37 am
Posts: 57
why application hanging once's i change the text on label
here is my code
gchar **msg;
gchar **no;
no= g_strsplit(msg[0],":",2);

no[1]=g_strconcat(no[1] ," hi",NULL);

gtk_label_set (GTK_LABEL (StatusLabel),no[1]);
in thi gtl_label_set creating the problem
if i remove this line my application working fine
but i need to show some text on it
why it is hanging
thank u

 Post subject:
PostPosted: Thu Sep 13, 2007 4:04 pm 
GTK+ Guru

Joined: Thu Jun 21, 2007 1:52 pm
Posts: 198
Location: Wilkes Barre Pa
When asking a question about why your code doesn't work its best to provide
all of they code and they compiler error message your getting.

See here:

Oh and to answer your question think about whats different in these two lines the root
to all of your problems lies there.



After you get your program working go here
there is some info that will make you a better gtk programmer.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group