Changeset 535

Show
Ignore:
Timestamp:
02/28/08 09:43:06 (6 months ago)
Author:
kickback
Message:

sweep: fix device_config() singleton (dialog was not set to NULL when closed via the window manager)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sweep/trunk/src/driver.c

    r472 r535  
    361361 
    362362    dialog = gtk_dialog_new (); 
     363 
     364    g_signal_connect ((gpointer) dialog, "destroy", 
     365                     G_CALLBACK(gtk_widget_destroyed), 
     366                     &dialog); 
     367 
    363368    gtk_window_set_title (GTK_WINDOW(dialog), _("Sweep: audio device configuration")); 
    364369    gtk_window_set_position (GTK_WINDOW(dialog), GTK_WIN_POS_MOUSE);