diff options
author | Toshiaki Asai <toshi.alternative@gmail.com> | 2017-12-21 05:31:29 +0900 |
---|---|---|
committer | Toshiaki Asai <toshi.alternative@gmail.com> | 2017-12-21 05:31:29 +0900 |
commit | d094cc80cd750f9a2a13c19b72e4986daa835636 (patch) | |
tree | c63ec512bced96def26c1ce269cf13ec7a10ae6e /core | |
parent | 281e2436dff11ad3950bda06f7fde6dcc39e1db3 (diff) | |
download | mikutter-d094cc80cd750f9a2a13c19b72e4986daa835636.tar.gz |
World切替時にクラッシュしていた
Diffstat (limited to 'core')
-rw-r--r-- | core/plugin/gtk/world_shifter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plugin/gtk/world_shifter.rb b/core/plugin/gtk/world_shifter.rb index 7839e40c..3af51187 100644 --- a/core/plugin/gtk/world_shifter.rb +++ b/core/plugin/gtk/world_shifter.rb @@ -54,7 +54,7 @@ class Gtk::WorldShifter < Gtk::EventBox def pluggaloid_event_listener tag = Plugin[:gtk].handler_tag(:world_shifter) do - Plugin[:gtk].on_world_change_current(&method(:refresh)) + Plugin[:gtk].on_world_change_current{ refresh } Plugin[:gtk].on_userconfig_modify do |key, newval| refresh if key == :world_shifter_visibility end |