remove deprecated code and debug code
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
#include <iostream> //debug
|
||||
namespace nana
|
||||
{
|
||||
namespace detail
|
||||
@@ -179,13 +178,7 @@ namespace nana
|
||||
auto name = find_kde_theme_name();
|
||||
|
||||
if(name.empty())
|
||||
{
|
||||
name = find_gnome_theme_name();
|
||||
std::cout<<"GNOME:"<<name<<std::endl;
|
||||
return find_gnome_theme_name();
|
||||
}
|
||||
|
||||
std::cout<<"KDE:"<<name<<std::endl;
|
||||
|
||||
return name;
|
||||
}
|
||||
@@ -294,13 +287,6 @@ namespace nana
|
||||
std::vector<std::string> directories_;
|
||||
};
|
||||
|
||||
void test()
|
||||
{
|
||||
theme thm;
|
||||
auto png = thm.icon("folder", 30);
|
||||
std::cout<<"Icon Theme="<<png<<std::endl;
|
||||
}
|
||||
|
||||
theme::theme():
|
||||
path_("/usr/share/icons/"),
|
||||
ifs_("/usr/share/icons/default/index.theme")
|
||||
|
||||
Reference in New Issue
Block a user