Re: libgnomeui - About Dialog
- From: Jens Finke <jens eknif de>
- To: Joachim Backes <backes rhrk uni-kl de>
- Cc: GNOME <gnome-list gnome org>
- Subject: Re: libgnomeui - About Dialog
- Date: Thu, 8 Mar 2001 10:13:23 +0100 (CET)
On Thu, 8 Mar 2001, Joachim Backes wrote:
> it seems that if a GnomeAboutDialog is popped up, and the OK button
> is pressed, the GnomeAboutDialog widget is deleted, because: If I try to
> popup the GnomeAboutDialog again by
>
> gtk_widget_show(my_about_dialog)
>
> then I get a Gtk+ error msg:
>
> Gtk-CRITICAL **: file gtkwidget.c: line 1425 (gtk_widget_show): assertion `GTK_IS_WIDGET (wi
> dget)' failed.
>
> I'm using glade for making the app.
Well, GnomeAboutDialog is a fire&forget dialog. You don't need to free it
after creation, but also shouldn't hold a reference to it. Just create it
every time you want to show it.
Regards,
Jens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]