support the compilation with gtk2.

This commit is contained in:
Takashi Iwai 2004-02-26 17:56:12 +00:00
parent 4b57479284
commit 63d29906c0
4 changed files with 16 additions and 4 deletions

View file

@ -77,7 +77,7 @@ int main(int argc, char *argv[])
if(card<0)
err="No RME Digi Soundcard found...";
gtk_init(&argc, &argv);
window=gtk_window_new(GTK_WINDOW_DIALOG);
window=gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_signal_connect(GTK_OBJECT(window),"destroy",GTK_SIGNAL_FUNC(destroy),NULL);
if(err)
{