}
-int load_settings_from_graph(Agraph_t * g)
+int load_settings_from_graph(void)
{
Agsym_t* sym=NULL;
while ((sym = agnxtattr(view->systemGraphs.attrs_widgets,AGRAPH, sym))) {
{
if (view->activeGraph >= 0) {
- load_settings_from_graph(view->g[view->activeGraph]);
+ load_settings_from_graph();
gtk_widget_hide(glade_xml_get_widget(xml, "dlgSettings"));
gtk_widget_show(glade_xml_get_widget(xml, "dlgSettings"));
gtk_window_set_keep_above((GtkWindow *)
_BB void color_change_request(GtkWidget * widget, gpointer user_data);
_BB void size_change_request(GtkWidget * widget, gpointer user_data);
_BB void on_dlgSettings_close (GtkWidget * widget, gpointer user_data);
- extern int load_settings_from_graph(Agraph_t * g);
+ extern int load_settings_from_graph(void);
extern int update_graph_from_settings(Agraph_t * g);
extern int show_settings_form(void);
view->refresh.nodesize=1;
view->refresh.pos=1;
view->refresh.selection=1;
- load_settings_from_graph(graph);
+ load_settings_from_graph();
if(view->guiMode!=GUI_FULLSCREEN)
update_graph_from_settings(graph);