[Glade-devel] bugs in glade3



On Thu, 2004-01-15 at 08:20, Tommi Komulainen wrote:
On Tue, 2004-01-13 at 19:31, ext Paolo Borelli wrote:
On Tue, 2004-01-13 at 14:36, Sridhar R wrote:

* b: clicking on "messagedialog" in palette leads to
assert failure:
(glade-3:6858): Gtk-CRITICAL **: file gtkimage.c: line
1017 (gtk_image_get_pixbuf): assertion
`image->storage_type == GTK_IMAGE_PIXBUF ||
image->storage_type
== GTK_IMAGE_EMPTY' failed
Trace/breakpoint trap


This is because we don't have an icon for the message-dialog at the
moment... feel free to draw one if you have the necessary gimp-fu :)

Even if it didn't have an icon, IMHO it really shouldn't be crashing
like that.  Complain very loudly, yes, but then fall back to some
'unknown looking' icon.


Agreed. As a matter it already displays a "icon not found icon" in the
palette. The crash was introduced when we added an icon column in the
widget tree, since it requires a pixbuf and it seems that the "Not
Found" GtkImage doesn't have an associated pixbuf.
I just committed a quick fix into cvs.

There are other problems with GtkMessageDialog though.

ciao
        paolo






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