]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove redundant line
authorRobert Roebling <robert@roebling.de>
Tue, 21 Aug 2007 10:52:39 +0000 (10:52 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 21 Aug 2007 10:52:39 +0000 (10:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/gnome/gprint.cpp

index 2f7425c839a67bfe75fe81a2cab78c73d19e7cad..e3c8fffb0dcf77379c11efc5aa173a29f15fff69 100644 (file)
@@ -1847,10 +1847,6 @@ void wxGnomePrintDC::DoGetTextExtent(const wxString& string, wxCoord *width, wxC
         return;
     }
 
-    // Set new font description
-    if (theFont)
-        pango_layout_set_font_description( m_layout, theFont->GetNativeFontInfo()->description );
-
     // Set layout's text
 
     // FIXME-UTF8: wouldn't be needed if utf8_str() always returned a buffer