Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for error #1

Closed
wants to merge 1 commit into from

3 participants

Kasper Menten Simon Steinbeiß Quentin Sculo
Kasper Menten

Usage: Gtk2::Widget::set_visible(widget, visible) at /usr/bin/../share/gmusicbrowser/gmusicbrowser_list.pm line 1779.
Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.

Kasper Menten Sarkasper Fix for this error message:
Usage: Gtk2::Widget::set_visible(widget, visible) at /usr/bin/../share/gmusicbrowser/gmusicbrowser_list.pm line 1779.
Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
6fd4ccf
Simon Steinbeiß
Owner

hey there,
would you mind submitting that upstream (squentin/gmusicbrowser)? i think it makes more sense to fix errors there than in my repo.
thanks anyway, your help is appreciated!

Kasper Menten

Hey
Thank you for the response, I'll take a look at the original gmusicbrowser code.

Kasper Menten Sarkasper closed this
Quentin Sculo

Thanks, it is a fixed a bit differently in squentin/gmusicbrowser@05cd014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 16, 2012
  1. Kasper Menten

    Fix for this error message:

    Sarkasper authored
    Usage: Gtk2::Widget::set_visible(widget, visible) at /usr/bin/../share/gmusicbrowser/gmusicbrowser_list.pm line 1779.
    Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
    Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
    Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
    Use of uninitialized value $_ in string ne at /usr/bin/gmusicbrowser line 6810 during global destruction.
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 3 deletions.
  1. +6 −3 gmusicbrowser_list.pm
9 gmusicbrowser_list.pm
View
@@ -1774,9 +1774,12 @@ sub new
my $pid= $self->{page}= $p->{pid};
my $mask= $Pages{$pid} ? $Pages{$pid}[2] :
Songs::FilterListProp($pid,'multi') ? 'oni' : 'on';
- $optB->set_visible ( $mask=~m/o/ );
- $spin->set_visible ( $mask=~m/n/ );
- $InterB->set_visible( $mask=~m/i/ );
+ if ($mask=~m/o/) {$optB->show}
+ else {$optB->hide}
+ if ($mask=~m/n/) {$spin->show}
+ else {$spin->hide}
+ if ($mask=~m/i/) {$InterB->show}
+ else {$InterB->hide}
});
$self->add($notebook);
Something went wrong with that request. Please try again.