Re: Bug, or design feature (segfault)



On Mon, 2007-09-17 at 16:14 -0400, Derek Stucklor wrote:
> hello, i'm not sure if this is a bug that should be
> reported or just a consequence of design, write now,
> i'm feeding the pixel information from
> gdk::pixbuf::get_pixels () into a structure each time
> an eventbox is clicked (ineffecient i know, but more
> interested why this is) and unless I dyanamically
> allocate the structure the program segfaults. 
> 
> also, how come certain dialogs need to be dynamically
> allocated (Gtk::AboutDialog) but not others (Gtk::FileChooserDialog)

they are all bugs, but in your code/design, not in GTK.
sorry to be the bearer of bad news. you should use a debugger and/or
valgrind to find the problem(s).

--p





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