]> granicus.if.org Git - graphviz/commitdiff
smyrna pre-release commit No:2
authorarif <devnull@localhost>
Tue, 3 Nov 2009 17:15:12 +0000 (17:15 +0000)
committerarif <devnull@localhost>
Tue, 3 Nov 2009 17:15:12 +0000 (17:15 +0000)
cmd/smyrna/gltemplate.c

index 16fc6ee84472f7991786f0cb5cd3cfb734bd9070..ca346ceaa0b348be8b12631b8bc20708abdb8750 100755 (executable)
@@ -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;