Lines 421-433
Link Here
|
421 |
static void |
421 |
static void |
422 |
dialog_remove_buttons(GtkWidget *pActionArea) |
422 |
dialog_remove_buttons(GtkWidget *pActionArea) |
423 |
{ |
423 |
{ |
424 |
GList *pChildren = |
424 |
GtkContainer * container = GTK_CONTAINER( pActionArea ); |
425 |
gtk_container_get_children( GTK_CONTAINER( pActionArea ) ); |
|
|
426 |
|
425 |
|
427 |
for( GList *p = pChildren; p; p = p->next ) |
426 |
if( container ) |
428 |
gtk_widget_destroy( GTK_WIDGET( p->data ) ); |
427 |
{ |
|
|
428 |
GList *pChildren = |
429 |
gtk_container_get_children( container ); |
430 |
|
431 |
for( GList *p = pChildren; p; p = p->next ) |
432 |
gtk_widget_destroy( GTK_WIDGET( p->data ) ); |
429 |
|
433 |
|
430 |
g_list_free( pChildren ); |
434 |
g_list_free( pChildren ); |
|
|
435 |
} |
431 |
} |
436 |
} |
432 |
|
437 |
|
433 |
static void |
438 |
static void |