aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorToshiaki Asai <toshi.alternative@gmail.com>2017-12-21 05:31:29 +0900
committerToshiaki Asai <toshi.alternative@gmail.com>2017-12-21 05:31:29 +0900
commitd094cc80cd750f9a2a13c19b72e4986daa835636 (patch)
treec63ec512bced96def26c1ce269cf13ec7a10ae6e /core
parent281e2436dff11ad3950bda06f7fde6dcc39e1db3 (diff)
downloadmikutter-d094cc80cd750f9a2a13c19b72e4986daa835636.tar.gz
World切替時にクラッシュしていた
Diffstat (limited to 'core')
-rw-r--r--core/plugin/gtk/world_shifter.rb2
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