]> granicus.if.org Git - graphviz/commitdiff
change_cursor: remove unused local 'w'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 14 Aug 2021 22:10:26 +0000 (15:10 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 19 Aug 2021 03:40:46 +0000 (20:40 -0700)
cmd/smyrna/gui/menucallbacks.c

index 4275f189b0ae8dc22b882be17a007fcb370f072d..0e535998d528f514374837179b858686c6323a06 100644 (file)
@@ -305,9 +305,7 @@ void change_cursor(GdkCursorType C)
 {
 
     GdkCursor *cursor;
-    GdkWindow *w;
     cursor = gdk_cursor_new(C);
-    w = (GdkWindow *) glade_xml_get_widget(xml, "frmMain");
     gdk_window_set_cursor((GdkWindow *) view->drawing_area->window,
                          cursor);
     gdk_cursor_destroy(cursor);