From a15c87e9a7f29143babd9212fee4649f7986fb3c Mon Sep 17 00:00:00 2001 From: erg Date: Wed, 24 Jun 2009 22:41:01 +0000 Subject: [PATCH] Remove unused variables --- cmd/smyrna/gui/topviewsettings.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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", -- 2.40.0