diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-09-06 13:35:56 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 21:28:37 +0100 |
commit | c6b68a4baeb51c14d5f6825e396b1ede42c941ae (patch) | |
tree | 44e1bfea4f3396ae743a0adecc0840030d171473 /perl-install/mygtk3.pm | |
parent | 6996f879c683210337d0fbcdc5c0e24ef9ef0055 (diff) | |
download | drakx-c6b68a4baeb51c14d5f6825e396b1ede42c941ae.tar drakx-c6b68a4baeb51c14d5f6825e396b1ede42c941ae.tar.gz drakx-c6b68a4baeb51c14d5f6825e396b1ede42c941ae.tar.bz2 drakx-c6b68a4baeb51c14d5f6825e396b1ede42c941ae.tar.xz drakx-c6b68a4baeb51c14d5f6825e396b1ede42c941ae.zip |
->modify_font() => ->override_font()
the former is deprecated in gtk+3
Diffstat (limited to 'perl-install/mygtk3.pm')
-rw-r--r-- | perl-install/mygtk3.pm | 2 |
1 files changed, 1 insertions, 1 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}) { |