From: erg Date: Wed, 24 Jun 2009 22:41:01 +0000 (+0000) Subject: Remove unused variables X-Git-Tag: LAST_LIBGRAPH~32^2~1878 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a15c87e9a7f29143babd9212fee4649f7986fb3c;p=graphviz Remove unused variables --- diff --git a/cmd/smyrna/gui/topviewsettings.c b/cmd/smyrna/gui/topviewsettings.c index f044d8a1b..3f956ad5b 100644 --- a/cmd/smyrna/gui/topviewsettings.c +++ b/cmd/smyrna/gui/topviewsettings.c @@ -377,12 +377,14 @@ int load_settings_from_graph(Agraph_t * g) int update_graph_from_settings(Agraph_t * g) { +#if 0 gchar *buf; int value; char buf2[10]; - buf = '\0'; -/* buf=gtk_font_selection_get_font_name((GtkFontSelection*)glade_xml_get_widget(xml, "settingsFontSelection")); - agset(g,"defaultfontname",buf);*/ + + buf=gtk_font_selection_get_font_name((GtkFontSelection*)glade_xml_get_widget(xml, "settingsFontSelection")); + agset(g,"defaultfontname",buf); +#endif get_color_button_widget_to_attribute("bgcolor", "settingsColorBtn1", g); get_color_button_widget_to_attribute("bordercolor",