mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
Fix problem number 2 in previous commit
svn path=/trunk/netsurf/; revision=2796
This commit is contained in:
parent
546efe6d6c
commit
0c836a8786
@ -46,8 +46,11 @@ void nsgtk_completion_empty(void)
|
||||
bool nsgtk_completion_udb_callback(const char *url, const struct url_data *data)
|
||||
{
|
||||
GtkTreeIter iter;
|
||||
gtk_list_store_append(nsgtk_completion_list, &iter);
|
||||
gtk_list_store_set(nsgtk_completion_list, &iter, 0, url, -1);
|
||||
|
||||
if (data->visits != 0) {
|
||||
gtk_list_store_append(nsgtk_completion_list, &iter);
|
||||
gtk_list_store_set(nsgtk_completion_list, &iter, 0, url, -1);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user