Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Sep 28, 2018
1 parent a54160c commit 68c2d2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/alexandria/ui/callbacks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def on_window_state_event(_window, event, _data)
log.debug { 'end window-state-event' }
end

def on_toolbar_view_as_changed(cb)
def on_toolbar_view_as_changed(cb, _user_data)
log.debug { 'changed' }
action = case cb.active
when 0
Expand All @@ -96,7 +96,7 @@ def on_toolbar_filter_entry_changed(_entry)
@iconview.unfreeze
end

def on_criterion_combobox_changed(cb)
def on_criterion_combobox_changed(cb, _user_data)
log.debug { 'changed' }
@filter_books_mode = cb.active
@filter_entry.text.strip!
Expand Down

0 comments on commit 68c2d2e

Please sign in to comment.