Peter Gordon wrote:

  Hi,

I am trying to load a dialog from an xrc file, created by DialogBlocks,
and I get this error:

 Gtk-CRITICAL **: gtk_window_set_modal: assertion `GTK_IS_WINDOW
(window)' failed

Any help would be appreciated.

just change the LoadOnDialog line to:

  $xrc->LoadOnDialog($dialog,undef, 'ID_TEST_DIALOG') ;

HTH,
Mattia

Reply via email to