Problems whit AccelGroup
- From: Jaime Zahonero López <jaimezl arrakis es>
- To: gtk-app-devel-list gnome org
- Subject: Problems whit AccelGroup
- Date: Tue, 22 May 2001 23:23:18 +0200
Hi!
I make an AccelGroup using glade, and everything is ok, but when the
program arrives to the delete of the Gtk::AccelGroup the program makes a
segmentation fault(core dump). The Gtk::AccelGroup is initialized using:
Gtk::AccelGroup::create();
If I don't make the delete, what happens with the memory?
Another problem: when I am going to close the program, I show a
yes/no dialog, but when I press yes and the program finish the dialog is
showed again, why does this thing ocurr? The function is:
void CMainWindow::on_salir1_activate()
{
CDialogSalir *dial_salir = new CDialogSalir();
if (dial_salir->run())
{
delete dial_salir;
Gtk::Main::quit();
}
else
delete dial_salir;
}
Thanks.
PD: Thanks with the problem of the floating point numbers reading.
But I need that Gnome doesn't make this, how could I change this? I am
using code from another person that works in the same project and I
don't want to change her code.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]