Sha256: 0626c7ca16514013128c1f22e9c2cf2e6a1a995d52fe5c05952f44c539f52dea
Contents?: true
Size: 1.07 KB
Versions: 80
Compression:
Stored size: 1.07 KB
Contents
# Copyright (C) 2015 Ruby-GNOME2 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 Gio class SimpleAction alias_method :initialize_raw, :initialize def initialize(name, parameter_type=nil, state=nil) if parameter_type.is_a?(String) parameter_type = GLib::VariantType.new(parameter_type) end initialize_raw(name, parameter_type, state) end end end
Version data entries
80 entries across 72 versions & 2 rubygems