Re: Problems With a SDI Implementation



The rafb pastebin paste obviously have timed out, I've uploaded the code
here:
http://www.chromecode.com/temp/sdi-example.cpp

So, would the best thing be to file a bug and include this example? Or
should I try the gtk-list?

- Martin N.




Pavlo Korzhyk skrev:
>> Ah yes, connecting to signals is probably a better idea. I've made it so
>> that the ApplicationGuiManager on instantiation of ImageWindows connects
>> to their signal_hide().
>>
>> However, the Gtk errors still persist. The new code is at
>> http://rafb.net/paste/results/mFMmE627.html
>
> I tried your new code - it crashes after I close the very first
> created window.
> If I close something else - everything is fine.
>
> Before the crash I see
>
> (gtkmmClient.exe:3788): Gtk-CRITICAL **: _gtk_accel_map_remove_group:
> assertion
> `entry != NULL' failed
>
> And the program crashes at
>
> #81 0x021c29e4 in Gtk::VBox::~VBox (this=0x36535dc) at box.cc:492
> #82 0x0042769e in ImageWindow::~ImageWindow (this=0x36535c8) at
> main.cpp:164
> #83 0x004263c9 in ApplicationGuiManager::delete_image_window
> (this=0x22ff30, imageWindow=0x36535c8) at main.cpp:113
>
> I tried to understand what's wrong with the code but everything seems
> to be correct.
> Maybe you found a bug in gtkmm?
>
>
>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]