GNOME Bugzilla – Bug 383407
gtk_entry_set_text does not check for completion->priv->changed_id > 0
Last modified: 2006-12-07 17:01:56 UTC
gtk_entry_set_text does not check for completion->priv->changed_id before calling g_signal_handler_block (entry, completion->priv->changed_id) and g_signal_handler_unblock (entry, completion->priv->changed_id). completion->priv->changed_id can be 0 when the property "popup-completion" of GtkEntryCompletion is FALSE. Furthermore, in gtk_entry_completion_key_press, g_signal_handler_block (widget, completion->priv->changed_id) is called before calling gtk_entry_set_text (widget, ...). This is not needed since the signal is already blocked inside set_text itself. I'm going to post a patch for this bug.
Created attachment 77901 [details] [review] Patch against gtk-2-10 branch
Thanks, please commit to both branches.
Committed to both branches.