On Wed, 14 Jun 2000, rhfreeman wrote:

> Hi folks,
> 
> I don't know what is causing this problem, it might be gcc or it might be
> gtk or it might be something else!

<snip>
> ... Can you folks check it for my under different OSes to see what is
> going wrong?

It crashes on x86 Red Hat Linux 6.2 on the first "a".  A few things to
look at:

1) In add_panel(), you set ptr to the address of a structure,

      ptr=&w_layout[non_used_paine];

   then you g_free it at the end,  

      g_free(ptr);

   You should only g_free that which you g_malloc.  :)

2) In main(), I don't think the gtk_drawing_area_size() call
   inside the for loop is of much use before gtk_widget_show(main_window)
   is called.  The values for main_window->allocation.height, etc.
   are some default values like "1".

-Jamie



_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to