After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725824 - gtkentrycompletion: fix a critical warning
gtkentrycompletion: fix a critical warning
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkEntry
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-03-06 14:38 UTC by Claudio Saavedra
Modified: 2014-03-06 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtkentrycompletion: fix a critical warning (985 bytes, patch)
2014-03-06 14:38 UTC, Claudio Saavedra
committed Details | Review

Description Claudio Saavedra 2014-03-06 14:38:50 UTC
format=0x7fffef2f8470 "Source ID %u was not found when attempting to remove it", args=0x7fffffffa798) at gmessages.c:1033
    at gmessages.c:1071
    marshal_data=0x0) at gmarshal.c:85
    invocation_hint=0x7fffffffb140, marshal_data=0x7ffff178260c <gtk_entry_real_insert_text>) at gtkmarshalers.c:7271
    marshal_data=0x10) at gclosure.c:1012
    param_types=0x94a030) at gmarshal.c:1004
    param_types=0x94a030) at gmarshal.c:1004
    invocation_hint=0x7fffffffc4d0, marshal_data=0x7ffff178162f <gtk_entry_key_press>) at gtkmarshalers.c:85
    at gclosure.c:768
    marshal_data=0x431f56 <ephy_window_key_press_event>, n_params=1, param_types=0x6fd4d0) at gtkmarshalers.c:130
    param_types=0x6fd4d0) at gclosure.c:988
    at gclosure.c:831
Comment 1 Claudio Saavedra 2014-03-06 14:38:53 UTC
Created attachment 271111 [details] [review]
gtkentrycompletion: fix a critical warning

There are early returns in this method before the completion timeout
is set later on, so set the source to 0 to avoid trying to remove it
later again.
Comment 2 Claudio Saavedra 2014-03-06 14:41:32 UTC
<Company> claudio: looks good, please push


Attachment 271111 [details] pushed as 578d43c - gtkentrycompletion: fix a critical warning