From 69a0e8f5ccd7b9dc323063287293e1fa9f6c79d9 Mon Sep 17 00:00:00 2001 From: arif Date: Tue, 3 Nov 2009 17:15:12 +0000 Subject: [PATCH] smyrna pre-release commit No:2 --- cmd/smyrna/gltemplate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/smyrna/gltemplate.c b/cmd/smyrna/gltemplate.c index 16fc6ee84..ca346ceaa 100755 --- a/cmd/smyrna/gltemplate.c +++ b/cmd/smyrna/gltemplate.c @@ -340,7 +340,8 @@ static gboolean motion_notify_event(GtkWidget * widget, float y = (float) event->y; gboolean redraw = FALSE; - view->widgets->common.functions.mouseover((glCompObj*)view->widgets, (GLfloat) x,(GLfloat) y); + if (view->widgets) + view->widgets->common.functions.mouseover((glCompObj*)view->widgets, (GLfloat) x,(GLfloat) y); dx = x - begin_x; dy = y - begin_y; -- 2.40.0