forked from AuroraMiddleware/gtk
GtkEntryCompletion: call cell_area()->clear()
Call gtk_cell_layout_clear() on the area instead of the completion in gtk_entry_completion_clear_text_column_renderer(), because it is also called from within gtk_entry_completion_clear().
This commit is contained in:
parent
f6a0debdd9
commit
3c28297134
@ -831,7 +831,11 @@ gtk_entry_completion_clear_text_column_renderer (GtkEntryCompletion *completion)
|
||||
{
|
||||
if (completion->priv->text_column != -1)
|
||||
{
|
||||
gtk_cell_layout_clear (GTK_CELL_LAYOUT (completion));
|
||||
GtkCellArea *area;
|
||||
|
||||
area = gtk_entry_completion_get_area (GTK_CELL_LAYOUT (completion));
|
||||
gtk_cell_layout_clear (area);
|
||||
|
||||
completion->priv->text_column = -1;
|
||||
g_object_notify (G_OBJECT (completion), "text_column");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user