[gimp/gtk3-port: 147/237] app: s/gtk_widget_modify_font/gtk_widget_override_font/



commit d42764182c1c1a53fa1615993d8e3a5af3c01d9f
Author: Michael Natterer <mitch gimp org>
Date:   Mon Dec 20 20:57:57 2010 +0100

    app: s/gtk_widget_modify_font/gtk_widget_override_font/

 app/dialogs/stroke-dialog.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/dialogs/stroke-dialog.c b/app/dialogs/stroke-dialog.c
index b7a3a7f..e29a5c5 100644
--- a/app/dialogs/stroke-dialog.c
+++ b/app/dialogs/stroke-dialog.c
@@ -148,10 +148,10 @@ stroke_dialog_new (GimpItem    *item,
     font_desc = pango_font_description_new ();
     pango_font_description_set_weight (font_desc, PANGO_WEIGHT_BOLD);
 
-    gtk_widget_modify_font (gtk_bin_get_child (GTK_BIN (libart_radio)),
-                            font_desc);
-    gtk_widget_modify_font (gtk_bin_get_child (GTK_BIN (paint_radio)),
-                            font_desc);
+    gtk_widget_override_font (gtk_bin_get_child (GTK_BIN (libart_radio)),
+                              font_desc);
+    gtk_widget_override_font (gtk_bin_get_child (GTK_BIN (paint_radio)),
+                              font_desc);
 
     pango_font_description_free (font_desc);
   }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]