]> granicus.if.org Git - graphviz/commitdiff
Remove extra parameter from function calls
authorerg <devnull@localhost>
Tue, 28 Jul 2009 19:25:07 +0000 (19:25 +0000)
committererg <devnull@localhost>
Tue, 28 Jul 2009 19:25:07 +0000 (19:25 +0000)
cmd/smyrna/gui/topviewsettings.c
cmd/smyrna/viewport.c

index b44ec6078297da64167c648119f8d523af6ebc14..67eb71c77b96a94185c8f45c7af2a952b49c737b 100644 (file)
@@ -31,7 +31,7 @@ void on_settingsApplyBtn_clicked(GtkWidget * widget, gpointer user_data)
 {
     update_graph_from_settings(view->g[view->activeGraph]);
     set_viewport_settings_from_template(view, view->g[view->activeGraph]);
-       update_topview(view->g[view->activeGraph],view->Topview,0,0);
+       update_topview(view->g[view->activeGraph],view->Topview,0);
 /*     settvcolorinfo(view->g[view->activeGraph],view->Topview);
        init_node_size(view->g[view->activeGraph])*/
 }
index 94bfefd737be880675f77210c3439a6313784262..0f68df2844b786287ccc3fe5c152c07483513101 100755 (executable)
@@ -590,7 +590,7 @@ int add_graph_to_viewport_from_file(char *fileName)
 {
     Agraph_t *graph = loadGraph(fileName);
 
-    return add_graph_to_viewport (graph, fileName,1);
+    return add_graph_to_viewport (graph, fileName);
 }
 
 void