]> granicus.if.org Git - graphviz/commitdiff
Remove unused variables
authorerg <devnull@localhost>
Wed, 24 Jun 2009 22:41:01 +0000 (22:41 +0000)
committererg <devnull@localhost>
Wed, 24 Jun 2009 22:41:01 +0000 (22:41 +0000)
cmd/smyrna/gui/topviewsettings.c

index f044d8a1b4bd2a1068622364628fbabcbcc3ef5b..3f956ad5b36f61f8e83cd96faf18738fcd2aa1d8 100644 (file)
@@ -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",