X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Ficoncontroler.cpp;h=1764ae2e49ce6c5070d7b989401276e0d9ffd8f0;hb=4ec81d053bf1d0cbcd9f0bf048914ec8eca08f4c;hp=41bdf4c6f21a38c4507acc342908d7a7a2d7698d;hpb=1905325be0aa16501c1a802b70da251fb5657b43;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp b/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp index 41bdf4c..1764ae2 100644 --- a/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp +++ b/synfig-studio/trunk/src/gtkmm/iconcontroler.cpp @@ -72,7 +72,11 @@ using namespace synfig; static Glib::RefPtr _tree_pixbuf_table_value_type[(int)synfig::ValueBase::TYPE_END]; +#ifdef WIN32 IconControler::IconControler(const synfig::String& basepath) +#else +IconControler::IconControler(const synfig::String& /*basepath*/) +#endif { Gtk::IconSource icon_source; icon_source.set_direction_wildcarded(); @@ -90,11 +94,11 @@ IconControler::IconControler(const synfig::String& basepath) char* synfig_root=getenv("SYNFIG_ROOT"); if(synfig_root) { path_to_icons=synfig_root; - path_to_icons+=ETL_DIRECTORY_SEPERATOR; + path_to_icons+=ETL_DIRECTORY_SEPARATOR; - path_to_icons+="share/pixmaps"; + path_to_icons+="share/pixmaps/synfigstudio"; } - path_to_icons+=ETL_DIRECTORY_SEPERATOR; + path_to_icons+=ETL_DIRECTORY_SEPARATOR; try{ Gtk::Window::set_default_icon_from_file(path_to_icons+"synfig_icon."+IMAGE_EXT);