View | Details | Raw Unified | Return to bug 203563 | Differences between
and this patch

Collapse All | Expand All

(-)vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx (-1 / +5 lines)
Lines 425-431 Link Here
425
        gtk_container_get_children( GTK_CONTAINER( pActionArea ) );
425
        gtk_container_get_children( GTK_CONTAINER( pActionArea ) );
426
426
427
    for( GList *p = pChildren; p; p = p->next )
427
    for( GList *p = pChildren; p; p = p->next )
428
        gtk_widget_destroy( GTK_WIDGET( p->data ) );
428
    {
429
        GtkWidget *pWidget = GTK_WIDGET( p->data );
430
        if ( GTK_IS_BUTTON( pWidget ) )
431
            gtk_widget_destroy( pWidget );
432
    }
429
433
430
    g_list_free( pChildren );
434
    g_list_free( pChildren );
431
}
435
}

Return to bug 203563