summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-09-06 13:35:56 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:37 +0100
commitc6b68a4baeb51c14d5f6825e396b1ede42c941ae (patch)
tree44e1bfea4f3396ae743a0adecc0840030d171473 /perl-install/ugtk3.pm
parent6996f879c683210337d0fbcdc5c0e24ef9ef0055 (diff)
downloaddrakx-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/ugtk3.pm')
-rw-r--r--perl-install/ugtk3.pm6
1 files changed, 3 insertions, 3 deletions
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;
}