summaryrefslogtreecommitdiff
path: root/gtk/gtkaboutdialog.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-02 07:08:53 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-11-02 08:10:42 -0400
commitadc731fad922cb62f982fd753104bfd4365d02aa (patch)
tree1512bc0b9b022f66982d662f52641e3b94247eda /gtk/gtkaboutdialog.c
parent8ad3fd28b8c1703134ba65a537241bf16ee6dc43 (diff)
downloadgtk+-adc731fad922cb62f982fd753104bfd4365d02aa.tar.gz
Remove various internal uses of deprecated api
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r--gtk/gtkaboutdialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index aaa82fbb77..6d916b61d3 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -2113,7 +2113,7 @@ text_view_new (GtkAboutDialog *about,
size = pango_font_description_get_size (gtk_style_context_get_font (context, state));
font_desc = pango_font_description_new ();
pango_font_description_set_size (font_desc, size * PANGO_SCALE_SMALL);
- gtk_widget_modify_font (view, font_desc);
+ gtk_widget_override_font (view, font_desc);
pango_font_description_free (font_desc);
gtk_text_view_set_left_margin (text_view, 8);