Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pchenthill
evolution-data-server
fix-eds-bnc-222911-namesel-crash.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-eds-bnc-222911-namesel-crash.diff of Package evolution-data-server
--- libedataserverui/e-name-selector-entry-copy.c 2006-11-22 13:44:23.000000000 +0530 +++ libedataserverui/e-name-selector-entry.c 2006-11-22 14:03:16.000000000 +0530 @@ -735,6 +735,10 @@ type_ahead_complete (ENameSelectorEntry return; text = gtk_entry_get_text (GTK_ENTRY (name_selector_entry)); + + /* type_ahead_complete gets called in an idle loop, so meanwhile this function gets called the user may have removed the text, so the text can be null, put a null check on text and return if the text is null */ + if (!text) + return; get_range_at_position (text, cursor_pos, &range_start, &range_end); range_len = range_end - range_start; if (range_len < COMPLETION_CUE_MIN_LEN)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor