/* Periodically process outstanding hostname lookups. If we have new items, redraw the packet list and tree view.  */
static gboolean resolv_update_cb(gpointer data _U_)
/* Periodically process outstanding hostname lookups. If we have new items, redraw the packet list and tree view.  */
static gboolean resolv_update_cb(gpointer data _U_)
{
    if (host_name_lookup_process()) {
        if (gtk_widget_get_window(pkt_scrollw))
            gdk_window_invalidate_rect(gtk_widget_get_window(pkt_scrollw), NULL, TRUE);
        if (gtk_widget_get_window(tv_scrollw))
            gdk_window_invalidate_rect(gtk_widget_get_window(tv_scrollw), NULL, TRUE);
    }
    return TRUE;
}