Re: How to repair "assertion `height >= -1' failed"?



This worked for me and i also asked the author.

change "-2" to "-1" in gbsource.c as follows:
  
   if (wdata->flags & (GLADE_WIDTH_SET | GLADE_HEIGHT_SET))
     {
       width = wdata->flags & GLADE_WIDTH_SET ? wdata->width : -1;
       height = wdata->flags & GLADE_HEIGHT_SET ? wdata->height : -1;
//       width = wdata->flags & GLADE_WIDTH_SET ? wdata->width : -2;
//       height = wdata->flags & GLADE_HEIGHT_SET ? wdata->height : -2;


-- 
Magnus <magnus-swe telia com>




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