summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/mygtk3.pm2
-rw-r--r--perl-install/ugtk3.pm6
2 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index 75a613c16..5934f32cf 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -417,7 +417,7 @@ sub _gtk__Label {
$w->set_justify(delete $opts->{justify}) if exists $opts->{justify};
$w->set_line_wrap(delete $opts->{line_wrap}) if exists $opts->{line_wrap};
$w->set_alignment(@{delete $opts->{alignment}}) if exists $opts->{alignment};
- $w->modify_font(Pango::FontDescription->from_string(delete $opts->{font})) if exists $opts->{font};
+ $w->override_font(Pango::FontDescription->from_string(delete $opts->{font})) if exists $opts->{font};
}
if (my $text_ref = delete $opts->{text_ref}) {
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index 6480330e7..1c12c0965 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -8,7 +8,7 @@ use locale;
@ISA = qw(Exporter);
%EXPORT_TAGS = (
wrappers => [ qw(gtkadd gtkadd_widget gtkappend gtkappend_page gtkappenditems gtkcombo_setpopdown_strings gtkdestroy
- gtkentry gtkflush gtkhide gtkmodify_font gtkmove gtkpack gtkpack2 gtkpack2_
+ gtkentry gtkflush gtkhide gtkoverride_font gtkmove gtkpack gtkpack2 gtkpack2_
gtkpack2__ gtkpack_ gtkpack__ gtkpowerpack gtkput gtkradio gtkresize gtkroot
gtkset_active gtkset_border_width gtkset_editable gtkset_justify gtkset_alignment gtkset_layout gtkset_line_wrap
gtkset_markup gtkset_modal gtkset_mousecursor gtkset_mousecursor_normal gtkset_mousecursor_wait gtkset_name
@@ -658,9 +658,9 @@ sub gtkfontinfo {
%fontinfo;
}
-sub gtkmodify_font {
+sub gtkoverride_font {
my ($w, $arg) = @_;
- $w->modify_font(ref($arg) ? $arg : Pango::FontDescription->from_string($arg));
+ $w->override_font(ref($arg) ? $arg : Pango::FontDescription->from_string($arg));
$w;
}