aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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