Fix #150406, reported by Fernando San Martín Woerner, patch by Gustavo

Sun Aug 22 00:08:44 2004  Matthias Clasen  <maclas@gmx.de>

	Fix #150406, reported by Fernando San Martín Woerner, patch
	by Gustavo Carneiro.

	* gtk/gtkentrycompletion.c
	(gtk_entry_completion_default_completion_func): Check that
	column is of type G_TYPE_STRING before proceeding.
This commit is contained in:
Matthias Clasen 2004-08-22 04:11:14 +00:00 committed by Matthias Clasen
parent 54938b0c6d
commit 07b5626f00
5 changed files with 39 additions and 0 deletions

View File

@ -1,3 +1,12 @@
Sun Aug 22 00:08:44 2004 Matthias Clasen <maclas@gmx.de>
Fix #150406, reported by Fernando San Martín Woerner, patch
by Gustavo Carneiro.
* gtk/gtkentrycompletion.c
(gtk_entry_completion_default_completion_func): Check that
column is of type G_TYPE_STRING before proceeding.
Sat Aug 21 23:52:13 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an

View File

@ -1,3 +1,12 @@
Sun Aug 22 00:08:44 2004 Matthias Clasen <maclas@gmx.de>
Fix #150406, reported by Fernando San Martín Woerner, patch
by Gustavo Carneiro.
* gtk/gtkentrycompletion.c
(gtk_entry_completion_default_completion_func): Check that
column is of type G_TYPE_STRING before proceeding.
Sat Aug 21 23:52:13 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an

View File

@ -1,3 +1,12 @@
Sun Aug 22 00:08:44 2004 Matthias Clasen <maclas@gmx.de>
Fix #150406, reported by Fernando San Martín Woerner, patch
by Gustavo Carneiro.
* gtk/gtkentrycompletion.c
(gtk_entry_completion_default_completion_func): Check that
column is of type G_TYPE_STRING before proceeding.
Sat Aug 21 23:52:13 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an

View File

@ -1,3 +1,12 @@
Sun Aug 22 00:08:44 2004 Matthias Clasen <maclas@gmx.de>
Fix #150406, reported by Fernando San Martín Woerner, patch
by Gustavo Carneiro.
* gtk/gtkentrycompletion.c
(gtk_entry_completion_default_completion_func): Check that
column is of type G_TYPE_STRING before proceeding.
Sat Aug 21 23:52:13 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an

View File

@ -675,6 +675,9 @@ gtk_entry_completion_default_completion_func (GtkEntryCompletion *completion,
model = gtk_tree_model_filter_get_model (completion->priv->filter_model);
g_return_val_if_fail (gtk_tree_model_get_column_type (model, completion->priv->text_column) == G_TYPE_STRING,
FALSE);
gtk_tree_model_get (model, iter,
completion->priv->text_column, &item,
-1);