From 11e77d51914402b947b544a2eb6d025c4a3e0d9a Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Mon, 16 May 2016 01:16:55 -0400 Subject: [PATCH] gears: Remove `screen` It has been deprecated for a while and was never part of a release. --- lib/gears/init.lua | 1 - lib/gears/screen.lua | 29 ----------------------------- 2 files changed, 30 deletions(-) delete mode 100644 lib/gears/screen.lua diff --git a/lib/gears/init.lua b/lib/gears/init.lua index 2d35de36c..3cad460db 100644 --- a/lib/gears/init.lua +++ b/lib/gears/init.lua @@ -18,7 +18,6 @@ return matrix = require("gears.matrix"); shape = require("gears.shape"); protected_call = require("gears.protected_call"); - screen = require("gears.screen"); geometry = require("gears.geometry"); } diff --git a/lib/gears/screen.lua b/lib/gears/screen.lua deleted file mode 100644 index 0baadf830..000000000 --- a/lib/gears/screen.lua +++ /dev/null @@ -1,29 +0,0 @@ ---------------------------------------------------------------------------- --- @author Uli Schlachter --- @copyright 2016 Uli Schlachter --- @release @AWESOME_VERSION@ --- @classmod gears.screen ---------------------------------------------------------------------------- - -local ascreen = require("awful.screen") -local util = require("awful.util") - -local module = {} - ---- Call a function for each existing and created-in-the-future screen. --- @tparam function func The function to call. -function module.connect_for_each_screen(func) - util.deprecate("Use awful.screen.connect_for_each_screen") - ascreen.connect_for_each_screen(func) -end - ---- Undo the effect of connect_for_each_screen. --- @tparam function func The function that should no longer be called. -function module.disconnect_for_each_screen(func) - util.deprecate("Use awful.screen.disconnect_for_each_screen") - ascreen.disconnect_for_each_screen(func) -end - -return module - --- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80