Re: Gtk Dialog box causing application to crash

2008-08-07 Thread Simon Budig
Jussi Kukkonen ([EMAIL PROTECTED]) wrote: > * gtk_dialog_run() makes the dialog modal, so you can't use several > dialogs at once. You'll have to connect to the "respose" signal and > and show the widget yourself. The dialog is not necessarily modal, if you want modal behaviour add "GTK_DIALOG

Re: Gtk Dialog box causing application to crash

2008-08-07 Thread Jussi Kukkonen
Arvind1 K wrote: > > Hi All, > > I'm facing a strange problem while using GTK+ Dialog box > I've used two dialogs one in IF and other in ELSE > > if (some condition) > { > GtkWidget *dialog1 = gtk_message_dialog_new (main_window, > GTK_DIALOG_DESTROY_WITH_PARENT

Re: Gtk Dialog box causing application to crash

2008-08-06 Thread Simon Budig
Arvind1 K ([EMAIL PROTECTED]) wrote: > I'm facing a strange problem while using GTK+ Dialog box > I've used two dialogs one in IF and other in ELSE > > if (some condition) > { > GtkWidget *dialog1 = gtk_message_dialog_new (main_window, [...] > } else { > GtkWidget *dialog2 = gtk_message_dialog_ne

Gtk Dialog box causing application to crash

2008-08-06 Thread Arvind1 K
Hi All, I'm facing a strange problem while using GTK+ Dialog box I've used two dialogs one in IF and other in ELSE if (some condition) { GtkWidget *dialog1 = gtk_message_dialog_new (main_window, GTK_DIALOG_DESTROY_WITH_PARENT, GTK