Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix for error #1

Closed
wants to merge 1 commit into from

3 participants

@Sarkasper

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.

@Sarkasper 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
@ochosi
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!

@Sarkasper

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

@Sarkasper Sarkasper closed this
@squentin

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. @Sarkasper

    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
View
9 gmusicbrowser_list.pm
@@ -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.