Hi all, I'm making a small Gtk application and this function (code sample below ) keeps doing segfaults when gtk_widget_destroy is called. Any tip??? <code> void message_dialog(const gchar * message){ /* * Santa ayuda de Gtk */ GtkWidget *dialog; /* Create the widgets */ dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", message); /* Add the label, and show everything we've added to the dialog. */ gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog); } </code> Thanks in advance -- Nothing's gonna change my world.... _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list