Since the last change will require a recompilation of pretty much everything, I took...
[synfig.git] / synfig-studio / trunk / src / gtkmm / about.cpp
index 6c487a7..67d0c76 100644 (file)
@@ -165,18 +165,18 @@ About::About():
 
        std::string imagepath;
 #ifdef WIN32
-       imagepath=App::get_base_path()+ETL_DIRECTORY_SEPERATOR+IMAGE_DIR;
+       imagepath=App::get_base_path()+ETL_DIRECTORY_SEPARATOR+IMAGE_DIR;
 #else
        imagepath=IMAGE_DIR;
 #endif
        char* synfig_root=getenv("SYNFIG_ROOT");
        if(synfig_root) {
                imagepath=synfig_root;
-               imagepath+=ETL_DIRECTORY_SEPERATOR;
+               imagepath+=ETL_DIRECTORY_SEPARATOR;
 
                imagepath+="share/pixmaps";
        }
-       imagepath+=ETL_DIRECTORY_SEPERATOR;
+       imagepath+=ETL_DIRECTORY_SEPARATOR;
 
 
        // Create the Logo
@@ -203,7 +203,7 @@ About::About():
        Pango::FontDescription fd = Pango::FontDescription("Sans, 11");
        l->set_font_description(fd);
        l->set_justify(Pango::ALIGN_CENTER);
-       fd.set_size(size*Pango::SCALE);
+       fd.set_size(int(size*Pango::SCALE));
        l->set_font_description(fd);
        l->get_pixel_size(width,height);
        while( width >= image_w-6 ){
@@ -248,7 +248,7 @@ About::About():
        fd = Pango::FontDescription("Sans, 11");
        l->set_font_description(fd);
        l->set_justify(Pango::ALIGN_CENTER);
-       fd.set_size(size*Pango::SCALE);
+       fd.set_size(int(size*Pango::SCALE));
        l->set_font_description(fd);
        l->get_pixel_size(width,height);
        while( width >= image_w-6 ){