Sha256: 6c596a20996e410eaa30c59a9af4bc8e642d4225a5a8b680cc6e5b718099b815

Contents?: true

Size: 1.11 KB

Versions: 5

Compression:

Stored size: 1.11 KB

Contents

# Copyright (C) 2018-2019  Ruby-GNOME Project Team
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

module GLib
  module Idle
    extend GLib::Deprecatable
    define_deprecated_singleton_method :remove,
                                       warn: "Use 'GLib::Source.remove(id)'."
  end

  class Param
    extend GLib::Deprecatable
    define_deprecated_const(:PRIVATE, :STATIC_NAME)
    define_deprecated_method(:private?, :static_name?)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
glib2-3.4.3 lib/glib2/deprecated.rb
glib2-3.4.2 lib/glib2/deprecated.rb
glib2-3.4.1 lib/glib2/deprecated.rb
glib2-3.4.0 lib/glib2/deprecated.rb
glib2-3.3.9 lib/glib2/deprecated.rb