Bugfix, activating connect function when nothing was selected could cause X exception

parent 7b945ee6
...@@ -1857,6 +1857,8 @@ pwr_tStatus WFoeGtk::create_window( int x_top, ...@@ -1857,6 +1857,8 @@ pwr_tStatus WFoeGtk::create_window( int x_top,
gre->init(); gre->init();
function_setup(); function_setup();
CoWowGtk::GetAtoms( 0, &objid_atom, 0);
#if 0 #if 0
Arg args[20]; Arg args[20];
int sts; int sts;
...@@ -2078,7 +2080,7 @@ pwr_tStatus WFoeGtk::create_window( int x_top, ...@@ -2078,7 +2080,7 @@ pwr_tStatus WFoeGtk::create_window( int x_top,
(XtCallbackProc)activate_quit, this); (XtCallbackProc)activate_quit, this);
} }
wow_GetAtoms( parent_wid, 0, &objid_atom, 0); CoWowGtk::GetAtoms( 0, &objid_atom, 0);
/* SG 09.02.91 a top level should always be realized ! /* SG 09.02.91 a top level should always be realized !
* ML 16.03.94 changed Realize to Popup * ML 16.03.94 changed Realize to Popup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment