diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-25 14:30:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-25 14:30:48 +0000 |
commit | 0e1d45310c08dc921d0e498ad16338ec7cb0acc7 (patch) | |
tree | 29f24adbf26e407659c932ea82282e2bfe8180f1 | |
parent | fd850ffa3c42203b38d36d74ebef4d199f88b525 (diff) | |
download | control-center-0e1d45310c08dc921d0e498ad16338ec7cb0acc7.tar control-center-0e1d45310c08dc921d0e498ad16338ec7cb0acc7.tar.gz control-center-0e1d45310c08dc921d0e498ad16338ec7cb0acc7.tar.bz2 control-center-0e1d45310c08dc921d0e498ad16338ec7cb0acc7.tar.xz control-center-0e1d45310c08dc921d0e498ad16338ec7cb0acc7.zip |
(rtl_gtkcreate_pixbuf,rtl_gtkcreate_img) kill dead code (unused any
obsoleted by gtknew('Image')'s "flip" parameter
-rwxr-xr-x | control-center | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/control-center b/control-center index cbe49850..5204c91e 100755 --- a/control-center +++ b/control-center @@ -1442,18 +1442,6 @@ sub create_packtable2 { #------------------------------------------------------------- # mcc specific graphic functions: -sub rtl_gtkcreate_pixbuf { - my ($icon) = @_; - my $pixbuf; - eval { $pixbuf = ugtk2::gtkcreate_pixbuf($icon . "_rtl") } if mygtk2::text_direction_rtl(); - $pixbuf ||= ugtk2::gtkcreate_pixbuf($icon); -} - -sub rtl_gtkcreate_img { - my ($icon) = @_; - mygtk2::text_direction_rtl() ? ugtk2::gtkcreate_img($icon . "_rtl") : ugtk2::gtkcreate_img($icon); -} - sub render_shiner { my ($pixbuf, $shine_value) = @_; my $new_pixbuf = (mygtk2::_new_alpha_pixbuf($pixbuf))[2]; |