summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-02-18 18:48:23 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:36 +0100
commit77a60c19faa38a8c837ce7e742d0691bb51aae97 (patch)
tree42115c3af6a2328af9b8cfb0c30596206104f07e
parent2e2521b1a4ba462898bea91fb6dfc5b9f771ce25 (diff)
downloaddrakx-77a60c19faa38a8c837ce7e742d0691bb51aae97.tar
drakx-77a60c19faa38a8c837ce7e742d0691bb51aae97.tar.gz
drakx-77a60c19faa38a8c837ce7e742d0691bb51aae97.tar.bz2
drakx-77a60c19faa38a8c837ce7e742d0691bb51aae97.tar.xz
drakx-77a60c19faa38a8c837ce7e742d0691bb51aae97.zip
Gtk3::TreeViewColumn implements the Gtk3::CellLayout interface, which provides the get_cells() method
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index d7ce8f182..f5016d2a7 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -519,7 +519,7 @@ sub create_widget {
if ($e->{not_edit}) {
$real_w = $w = Gtk3::ComboBoxText->new;
# FIXME: the following causes Gtk-CRITICAL but not solvable at realize time:
- first($w->child->get_cell_renderers)->set_property('ellipsize', 'end') if !$e->{do_not_ellipsize};
+ first($w->child->get_cells)->set_property('ellipsize', 'end') if !$e->{do_not_ellipsize};
$w->set_wrap_width($e->{gtk}{wrap_width}) if exists $e->{gtk}{wrap_width};
} else {
$w = Gtk3::ComboBoxEntry->new_text;