[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: printf



Hi Shuying

Try to check if the "box" is not NULL.

Regards
On Tue, 2004-06-08 at 13:44, Shuying Wang wrote:
> Hi, 
> 
> I'm not sure what I'm doing wrong, but basically I'm trying to insert a 
> printf statement in my gtk program and it causes my program to crash. 
> Below is the problematic code fragment:
> 
> g_printf("box: (in px) height=%d, width=%d,depth=%d\n", 
> 		       box->height, box->width, box->depth); 
> 
> height, width and depth are all gints. Could someone please enlighten me? 
> 
> thanks,
> --Shuying
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]