Strange issue with cell_data_func and Gtk3::FileSelectionDalog
- From: Mike Martin <redtux1 gmail com>
- To: gtk-perl mailing list <gtk-perl-list gnome org>
- Subject: Strange issue with cell_data_func and Gtk3::FileSelectionDalog
- Date: Wed, 8 May 2019 22:28:32 +0100
I am getting annoying G_IS_ObJECT warnings when I have a cell_data_function
my $cellfunc1=$widgete{controlview}->get_column(1)->get_cells;
$widgete{controlview}->get_column(1)->set_cell_data_func ($cellfunc1, sub {
my ($column, $cell, $model, $iter,$cellfunc1) = @_;
my $path=$model->get_path($iter);
my $row= $path->get_indices;
if ($row==0){
$cell->set_property('has-entry',0);
}
#return 0
}
);
If I have the line about $cell->set_property('has-entry',0); it the throws the above warning about gobject
If I change it to 1 it doesnt trigger the warning
(the changed signal opens a file selector dialog and the warning appears there)
As there appears to be no other way to toggle the 'has-entry' property (removing it gives an error or is simply ignored anywhere else), is there a way to mute this
It has no effect on the program, its just annoying
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]