]> git.lyx.org Git - features.git/commitdiff
clean up GPreferences
authorJohn Spray <spray@lyx.org>
Sun, 5 Feb 2006 23:21:26 +0000 (23:21 +0000)
committerJohn Spray <spray@lyx.org>
Sun, 5 Feb 2006 23:21:26 +0000 (23:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10812 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/gtk/GPreferences.C

index 2779d4b4b81ed0ea3d1823a11d9b9dec7c523afc..dd77a9d6bb23eae50533232f534e602492a2e469 100644 (file)
 #include <libglademm.h>
 
 using std::string;
-/*using std::pair;
-using std::makepair;*/
-
-/*
-namespace {
-
-pair <string, string> parseFontName(Glib::ustring &name)
-{
-       string fontname = "";
-       string foundry = "";
-
-       int i = 0;      
-       string word;
-       while (word = token(name, ' ', i++)) {
-               if (word == "Bold" || word == "Italic")
-                       fontname += (i? " " : "") + word;
-       }
-
-       std::cerr << "parseFontName: made '" << name << "' into '" << fontname << "'\n";
-
-       return makepair (fontname, foundry);
-}
-
-}*/
 
 namespace lyx {
 namespace frontend {