Subject: | Warning in get_selected_indices |
Date: | Tue, 28 Apr 2020 11:41:22 +0200 |
To: | bug-Gtk3-SimpleList [...] rt.cpan.org |
From: | Gaëtan Frenoy <gaetan [...] frenoy.net> |
Hello,
Gtk3::SimpleList is used by the Ásbrú Connection Manager project[1],
thanks for actively maintaining this library :)
We are calling "get_selected_indices"[2] several times in our code and
we noticed[3] that it generated some unwanted warnings in the console:
$VAR1 = undef;
$VAR1 = undef;
$VAR1 = undef;
$VAR1 = undef;
This warning is generated at line 174 of the function[4] but I cannot
understand why this warning is relevant...
Can you help us to either:
- understand the root reason of that warning (so that we can
workaround it)
- if it is not relevant, remove the warning
- if this is relevant is certain case, add a check to show the warning
only for those specific cases
Thanks for your help !
Gaëtan
[1] https://www.asbru-cm.net/
[2] https://github.com/asbru-cm/asbru-cm/blob/master/lib/PACCluster.pm
[3] https://github.com/asbru-cm/asbru-cm/issues/588
[4]
https://metacpan.org/source/TVIGNAUD/Gtk3-SimpleList-0.18/lib/Gtk3/SimpleList.pm#L174