Fix a couple of compiler warnings ("passing 'float' for argument 1 to 'void Pango...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Sep 2007 19:58:47 +0000 (19:58 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 7 Sep 2007 19:58:47 +0000 (19:58 +0000)
git-svn-id: http://svn.voria.com/code@626 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/about.cpp

index 6c487a7..73091f0 100644 (file)
@@ -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 ){