forked from AuroraMiddleware/gtk
testentrycompletion: Use the model we already got
cherry-pick of gtk-3-22 commit af350b20b1
This commit is contained in:
parent
dbdd3bf179
commit
1e5c79ed47
@ -233,7 +233,7 @@ animation_timer (GtkEntryCompletion *completion)
|
||||
{
|
||||
g_print ("removing model!\n");
|
||||
|
||||
old_store = GTK_LIST_STORE (g_object_ref (gtk_entry_completion_get_model (completion)));
|
||||
old_store = g_object_ref (store);
|
||||
gtk_entry_completion_set_model (completion, NULL);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user