From: arif Date: Tue, 3 Nov 2009 17:15:12 +0000 (+0000) Subject: smyrna pre-release commit No:2 X-Git-Tag: LAST_LIBGRAPH~32^2~1609 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69a0e8f5ccd7b9dc323063287293e1fa9f6c79d9;p=graphviz smyrna pre-release commit No:2 --- 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;