Commit 6f3a2bbf authored by Claes Sjofors's avatar Claes Sjofors

Multiview MB3 close disabled for ge cells fix

parent 8e4085c9
...@@ -79,13 +79,14 @@ void WGe::graph_init_cb( void *client_data) ...@@ -79,13 +79,14 @@ void WGe::graph_init_cb( void *client_data)
} }
void WGe::graph_close_cb( void *client_data) int WGe::graph_close_cb( void *client_data)
{ {
WGe *ge = (WGe *) client_data; WGe *ge = (WGe *) client_data;
if ( ge->modal) if ( ge->modal)
ge->terminated = 1; ge->terminated = 1;
else else
delete ge; delete ge;
return 1;
} }
int WGe::wge_command_cb( void *ge_ctx, char *command) int WGe::wge_command_cb( void *ge_ctx, char *command)
......
...@@ -81,7 +81,7 @@ class WGe { ...@@ -81,7 +81,7 @@ class WGe {
void print(); void print();
static void graph_init_cb( void *client_data); static void graph_init_cb( void *client_data);
static void graph_close_cb( void *client_data); static int graph_close_cb( void *client_data);
static int wge_command_cb( void *ge_ctx, char *command); static int wge_command_cb( void *ge_ctx, char *command);
static int wge_is_authorized_cb( void *ge_ctx, unsigned int access); static int wge_is_authorized_cb( void *ge_ctx, unsigned int access);
static void message( void *ctx, char severity, const char *message); static void message( void *ctx, char severity, const char *message);
......
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