X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktextutil.c;h=a2811f2d3cb8ed0e5ade1a51fa41e103d33eb381;hb=3c04597306a918317cb96d6c267fc73a798c04e4;hp=1299810ffd2f58ad396898d6ab20687850ace5d9;hpb=c94912afd5bcdf70bb94d36fa74db996292f0959;p=~andy%2Fgtk diff --git a/gtk/gtktextutil.c b/gtk/gtktextutil.c index 1299810ff..a2811f2d3 100644 --- a/gtk/gtktextutil.c +++ b/gtk/gtktextutil.c @@ -12,9 +12,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * License along with this library. If not, see . */ /* @@ -300,7 +298,7 @@ gtk_text_view_set_attributes_from_style (GtkTextView *text_view, if (values->font) pango_font_description_free (values->font); - values->font = pango_font_description_copy (gtk_style_context_get_font (context, state)); + gtk_style_context_get (context, state, "font", &values->font, NULL); } cairo_surface_t *