Re: How to repair "assertion `height >= -1' failed"?
- From: Magnus <magnus-swe telia com>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: How to repair "assertion `height >= -1' failed"?
- Date: 23 Sep 2003 22:18:12 +0200
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]