Hi, all!
I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora
8. I have found, that if there is reference to unknown type in UI-file,
then application crashes. Is it a GtkBuilder bug?
Test program:
#include
gint main(gint argc, gchar **argv)
{
GtkBuilder *builder
On Wed, Feb 27, 2008 at 12:04:10PM +0300, Pavel Syomin wrote:
> Hi, all!
>
> I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora
> 8. I have found, that if there is reference to unknown type in UI-file,
> then application crashes. Is it a GtkBuilder bug?
&g
there is reference to unknown type in UI-file,
>> then application crashes. Is it a GtkBuilder bug?
>>
>> Test program:
>> #include
>>
>> gint main(gint argc, gchar **argv)
>> {
>> GtkBuilder *builder;
>>
>> gtk_init(&
Pavel Syomin wrote:
> Hi, all!
>
> I had been experimenting with GtkBuilder using Gtk+ 2.12.5 from Fedora
> 8. I have found, that if there is reference to unknown type in UI-file,
> then application crashes. Is it a GtkBuilder bug?
>
> Test program:
[snip]
>
>
gt; > then application crashes. Is it a GtkBuilder bug?
> >
> > Test program:
>
> [snip]
>
> >
> > Gtk-ERROR **: Invalid type: Unknown
> > aborting...
> > Segmentation fault
>
>
> I'm guessing that's intentional. g_error() causes the prog
On Wed, 2008-02-27 at 22:32 +0100, Mikkel Kamstrup Erlandsen wrote:
> Hmmm. This sounds like a very narrow minded decision to me. I have
> been planning to write write a framework where one can send GtkBuilder
> XML snippets to a DBus service and have that service embed this as out
> of process plu
On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote:
> On Wed, 2008-02-27 at 22:32 +0100, Mikkel Kamstrup Erlandsen wrote:
> > Hmmm. This sounds like a very narrow minded decision to me. I have
> > been planning to write write a framework where one can send GtkBuilder
> > XML snippets to a DBus s
ve found, that if there is reference to unknown type in UI-
> file,
> > then application crashes. Is it a GtkBuilder bug?
> >
> > Test program:
>
> [snip]
>
> >
> > Gtk-ERROR **: Invalid type: Unknown
> > aborting...
> > Segmentation fault
>
>
On Feb 27, 2008, at 16:31 , Emmanuele Bassi wrote:
>
> On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote:
>> On Wed, 2008-02-27 at 22:32 +0100, Mikkel Kamstrup Erlandsen wrote:
>>> Hmmm. This sounds like a very narrow minded decision to me. I have
>>> been planning to write write a framework w
On Wed, 2008-02-27 at 17:38 -0600, Yevgen Muntyan wrote:
> On Feb 27, 2008, at 16:31 , Emmanuele Bassi wrote:
>
> >
> > On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote:
> >> On Wed, 2008-02-27 at 22:32 +0100, Mikkel Kamstrup Erlandsen wrote:
> >>> Hmmm. This sounds like a very narrow minded
On Wed, Feb 27, 2008 at 8:58 PM, Peter Clifton <[EMAIL PROTECTED]> wrote:
>
> It can be user-data... I've experimented with using libglade to add
> user-defined widgets to a schematic editor's canvas, and a crash / abort
> is NOT what we want when the user hand-edits the XML and makes a
> mistake.
I have added a record into bugzilla - 519199.
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list
On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote:
> I don't believe that any data passed to a library should result in a
> fatal warning, surely a GError return would be a far better option here.
Isn't GError for conditions that can be reported to the *user*, and that
said user can do somethin
no need to Cc me: I'm subscribed to the list.
On Wed, 2008-02-27 at 17:38 -0600, Yevgen Muntyan wrote:
> >> I don't believe that any data passed to a library should result in a
> >> fatal warning, surely a GError return would be a far better option
> >> here.
> >
> > this is data building your
On Thu, 2008-02-28 at 18:56 +1100, Andrew Cowie wrote:
> On Wed, 2008-02-27 at 22:20 +, Ross Burton wrote:
> > I don't believe that any data passed to a library should result in a
> > fatal warning, surely a GError return would be a far better option here.
>
> Isn't GError for conditions that
Emmanuele Bassi wrote:
> no need to Cc me: I'm subscribed to the list.
>
> On Wed, 2008-02-27 at 17:38 -0600, Yevgen Muntyan wrote:
>
>
I don't believe that any data passed to a library should result in a
fatal warning, surely a GError return would be a far better option
here.
>
16 matches
Mail list logo