From a45c4e4ca33cc642f3dfac9d9b6652a0cb40485f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 8 Nov 2013 03:29:08 +0100 Subject: those setters no more accept undef --- perl-install/standalone/drakfont | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'perl-install/standalone/drakfont') diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont index 14584c1a4..d5d6b3cf8 100755 --- a/perl-install/standalone/drakfont +++ b/perl-install/standalone/drakfont @@ -630,7 +630,7 @@ sub advanced_install() { my $button; $model = Gtk3::TreeStore->new("Glib::String"); $list = Gtk3::TreeView->new_with_model($model); - $list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0)); + $list->append_column(Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::CellRendererText->new, 'text' => 0)); $list->set_headers_visible(0); $list->get_selection->set_mode('browse'); $list->set_rules_hint(1); @@ -672,7 +672,7 @@ sub list_to_remove() { sub show_list_to_remove() { my $model = Gtk3::TreeStore->new("Glib::String"); my $list = Gtk3::TreeView->new_with_model($model); - $list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0)); + $list->append_column(Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::CellRendererText->new, 'text' => 0)); $list->set_headers_visible(0); $list->get_selection->set_mode('browse'); $list->set_rules_hint(1); @@ -703,7 +703,7 @@ sub uninstall() { #- TODO : add item to right list with gtksignal_connect #- left part $left_model = Gtk3::TreeStore->new("Glib::String"); $left_list = Gtk3::TreeView->new_with_model($left_model); - $left_list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0)); + $left_list->append_column(Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::CellRendererText->new, 'text' => 0)); $left_list->set_headers_visible(0); $left_list->set_rules_hint(1); $left_list->get_selection->set_mode('multiple'); @@ -713,7 +713,7 @@ sub uninstall() { #- TODO : add item to right list with gtksignal_connect #- right part $right_model = Gtk3::TreeStore->new("Glib::String"); $right_list = Gtk3::TreeView->new_with_model($right_model); - $right_list->append_column(Gtk3::TreeViewColumn->new_with_attributes(undef, Gtk3::CellRendererText->new, 'text' => 0)); + $right_list->append_column(Gtk3::TreeViewColumn->new_with_attributes('', Gtk3::CellRendererText->new, 'text' => 0)); $right_list->set_headers_visible(0); $right_list->get_selection->set_mode('multiple'); $right_list->set_rules_hint(1); -- cgit v1.2.1