forked from AuroraMiddleware/gtk
Guard against NULL. (#330177, Raphael Slinckx)
2006-02-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected): Guard against NULL. (#330177, Raphael Slinckx)
This commit is contained in:
parent
d47f64aca9
commit
5ffc0826ed
@ -1,3 +1,8 @@
|
||||
2006-02-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected):
|
||||
Guard against NULL. (#330177, Raphael Slinckx)
|
||||
|
||||
2006-02-10 Murray Cumming <murrayc@murrayc.com>
|
||||
|
||||
* docs/reference/gtk/tmpl/gtkcomboboxentry.sgml: Mention that
|
||||
|
@ -1,3 +1,8 @@
|
||||
2006-02-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected):
|
||||
Guard against NULL. (#330177, Raphael Slinckx)
|
||||
|
||||
2006-02-10 Murray Cumming <murrayc@murrayc.com>
|
||||
|
||||
* docs/reference/gtk/tmpl/gtkcomboboxentry.sgml: Mention that
|
||||
|
@ -1488,7 +1488,7 @@ gtk_entry_completion_match_selected (GtkEntryCompletion *completion,
|
||||
gchar *str = NULL;
|
||||
|
||||
gtk_tree_model_get (model, iter, completion->priv->text_column, &str, -1);
|
||||
gtk_entry_set_text (GTK_ENTRY (completion->priv->entry), str);
|
||||
gtk_entry_set_text (GTK_ENTRY (completion->priv->entry), str ? str : "");
|
||||
|
||||
/* move cursor to the end */
|
||||
gtk_editable_set_position (GTK_EDITABLE (completion->priv->entry), -1);
|
||||
|
Loading…
Reference in New Issue
Block a user