Re: crash problem
Al Hooton <[email protected]> Thu, 01 Dec 2005 18:39:05 -0800
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
Adrian, do you have any thoughts on this patch? I don't have time right now to study it in-depth, but the fix for gtkentry to generate focus-out seems to make sense. I'm not sure about the set_flags/unset_flags change... On Sun, 2005-11-27 at 04:50 -0500, Cheuksan Edward Wang wrote: > I fixed my problem with the attached patch. I think my crash was > caused by gtkentry not generating the focus-out event. I also think > those GTK_WIDGET_SET/UNSET_FLAGS are not necessary. > > What do you think? > > Cheuksan Wang > > On 11/26/05, Al Hooton <[email protected]> wrote: > Can you post a small sample program that demonstrates > the problem? You > can look at the test*.c programs in the gtkextra distribution > for > examples of small test programs. > > Without some code that exhibits the problem for other > people to study, > it will be difficult for anybody to help. > > -Al > > On Thu, 2005-11-24 at 22:46 -0500, Cheuksan Edward Wang wrote: > > I'm using gtk+extra-2.1.1 with glade. I'm using the gtksheet > widget in > > a window. However, I'm getting the following crash when I > select > > multiple cells or a row. I didn't do anything special with > the focus > > in/out events. Does anyone have any ideas? > > > > Thanks > > > > Edward Wang > > > > (optical_monitoring:8995): Gtk-WARNING **: GtkEntry - did > not receive > > focus-out-event. If you > > connect a handler to this signal, it must return > > FALSE so the entry gets the event as well > > > > Gtk-ERROR **: file gtkentry.c: line 4856 (blink_cb): > assertion failed: > > (GTK_WIDGET_HAS_FOCUS (entry)) > > aborting... > > Aborted > > > -- > > > Al Hooton > al-at-hootons-dot-org > > ======== > Lead maintainer of the linux-based open-source project > Parapin. > http://www.sf.net/projects/parapin/ > ======== > > -- Al Hooton al-at-hootons-dot-org ======== Lead maintainer of the linux-based open-source project Parapin. http://www.sf.net/projects/parapin/ ======== ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click