GTK Stock Buttons Causing Program to Crash

View: New views
2 Messages — Rating Filter:   Alert me  

GTK Stock Buttons Causing Program to Crash

by mikemio :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello. I have a dialog window that when I add a GTK_STOCK button to it, it causes my program to crash on the gtk_dialog_run() call. If I do not add the GTK_STOCK button to my dialog window, the window opens up fine. I have tried adding GTK_STOCK buttons to my window by using the gtk_dialog_new_with_buttons() function as well as the gtk_button_new_from_stock() function. In both cases, the program crashes when I try to open the window.

Any ideas on this? I am developing on a Red Hat Linux laptop with C++.

Thanks a bunch for the help!

Re: GTK Stock Buttons Causing Program to Crash

by BJörn Lindqvist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, May 15, 2008 at 7:08 PM, mikemio <michael.mio@...> wrote:
> Hello. I have a dialog window that when I add a GTK_STOCK button to it, it
> causes my program to crash on the gtk_dialog_run() call. If I do not add the
> GTK_STOCK button to my dialog window, the window opens up fine. I have tried
> adding GTK_STOCK buttons to my window by using the
> gtk_dialog_new_with_buttons() function as well as the
> gtk_button_new_from_stock() function. In both cases, the program crashes
> when I try to open the window.

Please direct queries like these to gtk-app-devel-list@....
gtk-devel-list is only for development of gtk. When doing so also try
and provide a minimal source code example of what causes the crash
because that makes it easier to help you analyse the root cause of the
problem.


--
mvh Björn
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@...
http://mail.gnome.org/mailman/listinfo/gtk-devel-list