gio2 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +31 -0
  3. data/ext/gio2/depend +6 -0
  4. data/ext/gio2/extconf.rb +77 -0
  5. data/ext/gio2/rb-gio2-pollable-source.c +59 -0
  6. data/ext/gio2/rb-gio2.c +32 -0
  7. data/ext/gio2/rb-gio2.h +26 -0
  8. data/extconf.rb +65 -0
  9. data/lib/2.0/gio2.so +0 -0
  10. data/lib/2.1/gio2.so +0 -0
  11. data/lib/2.2/gio2.so +0 -0
  12. data/lib/gio2.rb +56 -0
  13. data/lib/gio2/deprecated.rb +118 -0
  14. data/lib/gio2/inet-address.rb +33 -0
  15. data/lib/gio2/input-stream.rb +48 -0
  16. data/lib/gio2/loader.rb +240 -0
  17. data/lib/gio2/pollable-input-stream.rb +60 -0
  18. data/lib/gio2/pollable-output-stream.rb +27 -0
  19. data/lib/gio2/resources.rb +62 -0
  20. data/test/fixture/content-type/x-content/unix-software/autorun.sh +1 -0
  21. data/test/fixture/resource/Rakefile +32 -0
  22. data/test/fixture/resource/logo.png +0 -0
  23. data/test/fixture/resource/ruby-gio2.gresource +0 -0
  24. data/test/fixture/resource/ruby-gio2.gresource.xml +6 -0
  25. data/test/gio2-test-utils.rb +22 -0
  26. data/test/gio2-test-utils/fixture.rb +24 -0
  27. data/test/gio2-test-utils/omissions.rb +23 -0
  28. data/test/gio2-test-utils/socket-client.rb +59 -0
  29. data/test/run-test.rb +51 -0
  30. data/test/test-buffered-input-stream.rb +23 -0
  31. data/test/test-charset-converter.rb +23 -0
  32. data/test/test-content-type.rb +39 -0
  33. data/test/test-data-input-stream.rb +21 -0
  34. data/test/test-dbus.rb +42 -0
  35. data/test/test-file-enumerator.rb +26 -0
  36. data/test/test-file-monitor.rb +33 -0
  37. data/test/test-file.rb +30 -0
  38. data/test/test-inet-address.rb +34 -0
  39. data/test/test-input-stream.rb +36 -0
  40. data/test/test-memory-input-stream.rb +23 -0
  41. data/test/test-memory-output-stream.rb +23 -0
  42. data/test/test-output-stream.rb +39 -0
  43. data/test/test-pollable-input-stream.rb +54 -0
  44. data/test/test-pollable-output-stream.rb +53 -0
  45. data/test/test-resources.rb +58 -0
  46. metadata +115 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 88023f60a1f7cb6ae500f9b130491662916b4db8
4
+ data.tar.gz: 9b71a4050b5297f4771450052403c41ab0388079
5
+ SHA512:
6
+ metadata.gz: de5628f220681155a22870f73524720a7e2324435e20d07d80de06dc3b71944386093943c09176812f6ba5dfc46deeba9eb82054c54a663fa300d18dc129070d
7
+ data.tar.gz: 1bc69c43f83deeaaa450f397cf5cc8e1fb9aefdb801c75b0d337ac0521ca4a8af04aa192508cfe4f5490f84d970d462e4dc3db1f10dce690081f793ea37ebf27
@@ -0,0 +1,31 @@
1
+ # -*- ruby -*-
2
+ #
3
+ # Copyright (C) 2011-2013 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ $LOAD_PATH.unshift("./../glib2/lib")
20
+ require "gnome2/rake/package-task"
21
+
22
+ package_task = GNOME2::Rake::PackageTask.new do |package|
23
+ package.summary = "Ruby/GIO2 is a Ruby binding of gio-2.x."
24
+ package.description = "Ruby/GIO2 is a Ruby binding of gio-2.x."
25
+ package.dependency.gem.runtime = ["glib2", "gobject-introspection"]
26
+ package.windows.packages = []
27
+ package.windows.dependencies = []
28
+ package.windows.build_dependencies = ["glib2", "gobject-introspection"]
29
+ package.windows.gobject_introspection_dependencies = ["glib2"]
30
+ end
31
+ package_task.define
@@ -0,0 +1,6 @@
1
+ install: install-pc
2
+ install-pc:
3
+ if test -n "$(pkgconfigdir)"; then \
4
+ $(MAKEDIRS) $(pkgconfigdir); \
5
+ $(INSTALL_DATA) ruby-gio2.pc $(pkgconfigdir); \
6
+ fi
@@ -0,0 +1,77 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2014 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ require "pathname"
20
+
21
+ base_dir = Pathname(__FILE__).dirname.parent.parent.expand_path
22
+ top_dir = base_dir.parent
23
+ top_build_dir = Pathname(".").parent.parent.parent.expand_path
24
+
25
+ mkmf_gnome2_dir = top_dir + "glib2" + "lib"
26
+ version_suffix = ""
27
+ unless mkmf_gnome2_dir.exist?
28
+ if /(-\d+\.\d+\.\d+)\z/ =~ base_dir.basename.to_s
29
+ version_suffix = $1
30
+ mkmf_gnome2_dir = top_dir + "glib2#{version_suffix}" + "lib"
31
+ end
32
+ end
33
+
34
+ $LOAD_PATH.unshift(mkmf_gnome2_dir.to_s)
35
+
36
+ module_name = "gio2"
37
+ package_id = "gio-2.0"
38
+
39
+ require "mkmf-gnome2"
40
+
41
+ ["glib2", "gobject-introspection"].each do |package|
42
+ directory = "#{package}#{version_suffix}"
43
+ build_base_path = "#{directory}/tmp/#{RUBY_PLATFORM}"
44
+ package_library_name = package.gsub(/-/, "_")
45
+ build_dir = "#{build_base_path}/#{package_library_name}/#{RUBY_VERSION}"
46
+ add_depend_package(package, "#{directory}/ext/#{package}",
47
+ top_dir.to_s,
48
+ :top_build_dir => top_build_dir.to_s,
49
+ :target_build_dir => build_dir)
50
+ end
51
+
52
+ setup_windows(module_name, base_dir)
53
+
54
+ unless required_pkg_config_package(package_id,
55
+ :debian => "libglib2.0-dev",
56
+ :redhat => "glib2-devel",
57
+ :homebrew => "glib",
58
+ :macports => "glib2")
59
+ exit(false)
60
+ end
61
+
62
+ unless PKGConfig.have_package("gobject-introspection-1.0")
63
+ exit(false)
64
+ end
65
+
66
+ create_pkg_config_file("Ruby/GIO2", package_id)
67
+
68
+ $defs << "-DRUBY_GIO2_COMPILATION"
69
+ create_makefile(module_name)
70
+
71
+ pkg_config_dir = with_config("pkg-config-dir")
72
+ if pkg_config_dir.is_a?(String)
73
+ File.open("Makefile", "ab") do |makefile|
74
+ makefile.puts
75
+ makefile.puts("pkgconfigdir=#{pkg_config_dir}")
76
+ end
77
+ end
@@ -0,0 +1,59 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2014 Ruby-GNOME2 Project Team
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2.1 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library; if not, write to the Free Software
17
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
+ * MA 02110-1301 USA
19
+ */
20
+
21
+ #include "rb-gio2.h"
22
+
23
+ #define RG_TARGET_NAMESPACE mPollableSource
24
+
25
+ #define _SELF(self) ((GSource *)RVAL2BOXED(self, G_TYPE_SOURCE))
26
+
27
+ static gboolean
28
+ source_func(GObject *pollable_stream, gpointer user_data)
29
+ {
30
+ VALUE callback = (VALUE)user_data;
31
+ ID id_call;
32
+ id_call = rb_intern("call");
33
+ return RVAL2CBOOL(rb_funcall(callback, id_call,
34
+ 1, GOBJ2RVAL(pollable_stream)));
35
+ }
36
+
37
+ static VALUE
38
+ rg_set_callback(VALUE self)
39
+ {
40
+ VALUE callback;
41
+
42
+ callback = rb_block_proc();
43
+ G_RELATIVE(self, callback);
44
+ g_source_set_callback(_SELF(self),
45
+ (GSourceFunc)source_func,
46
+ (gpointer)callback,
47
+ (GDestroyNotify)NULL);
48
+ return self;
49
+ }
50
+
51
+ void
52
+ rb_gio2_init_pollable_source (VALUE mGio)
53
+ {
54
+ VALUE RG_TARGET_NAMESPACE;
55
+
56
+ RG_TARGET_NAMESPACE = rb_define_module_under(mGio, "PollableSource");
57
+
58
+ RG_DEF_METHOD(set_callback, 0);
59
+ }
@@ -0,0 +1,32 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2014 Ruby-GNOME2 Project Team
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2.1 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library; if not, write to the Free Software
17
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
+ * MA 02110-1301 USA
19
+ */
20
+
21
+ #include "rb-gio2.h"
22
+
23
+ #define RG_TARGET_NAMESPACE rb_mGio
24
+
25
+ void
26
+ Init_gio2 (void)
27
+ {
28
+ VALUE RG_TARGET_NAMESPACE;
29
+
30
+ RG_TARGET_NAMESPACE = rb_define_module("Gio");
31
+ rb_gio2_init_pollable_source(RG_TARGET_NAMESPACE);
32
+ }
@@ -0,0 +1,26 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2014 Ruby-GNOME2 Project Team
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2.1 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library; if not, write to the Free Software
17
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
+ * MA 02110-1301 USA
19
+ */
20
+
21
+ #include <gio/gio.h>
22
+
23
+ #include <rb-gobject-introspection.h>
24
+
25
+ extern void Init_gio2 (void);
26
+ G_GNUC_INTERNAL extern void rb_gio2_init_pollable_source (VALUE rb_mGio);
@@ -0,0 +1,65 @@
1
+ #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2014 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
+
19
+ require "pathname"
20
+ require "mkmf"
21
+ require "rbconfig"
22
+ require "fileutils"
23
+
24
+ package = "gio2"
25
+
26
+ base_dir = Pathname(__FILE__).dirname.expand_path
27
+ ext_dir = base_dir + "ext" + package
28
+ mkmf_gnome2_dir = base_dir + 'lib'
29
+
30
+ ruby = File.join(RbConfig::CONFIG['bindir'],
31
+ RbConfig::CONFIG['ruby_install_name'] +
32
+ RbConfig::CONFIG["EXEEXT"])
33
+
34
+ build_dir = Pathname("ext") + package
35
+ FileUtils.mkdir_p(build_dir.to_s) unless build_dir.exist?
36
+ extconf_rb_path = ext_dir + "extconf.rb"
37
+ system(ruby, "-C", build_dir.to_s, extconf_rb_path.to_s, *ARGV) || exit(false)
38
+
39
+ create_makefile(package)
40
+ FileUtils.mv("Makefile", "Makefile.lib")
41
+
42
+ File.open("Makefile", "w") do |makefile|
43
+ makefile.puts(<<-MAKEFILE)
44
+ all:
45
+ (cd ext/#{package} && $(MAKE))
46
+ $(MAKE) -f Makefile.lib
47
+
48
+ install:
49
+ (cd ext/#{package} && $(MAKE) install)
50
+ $(MAKE) -f Makefile.lib install
51
+
52
+ site-install:
53
+ (cd ext/#{package} && $(MAKE) site-install)
54
+ $(MAKE) -f Makefile.lib site-install
55
+
56
+ clean:
57
+ (cd ext/#{package} && $(MAKE) clean)
58
+ $(MAKE) -f Makefile.lib clean
59
+
60
+ distclean:
61
+ (cd ext/#{package} && $(MAKE) distclean)
62
+ $(MAKE) -f Makefile.lib distclean
63
+ @rm -f Makefile.lib
64
+ MAKEFILE
65
+ end
Binary file
Binary file
Binary file
@@ -0,0 +1,56 @@
1
+ # Copyright (C) 2013-2014 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ require "gobject-introspection"
18
+ require "glib2"
19
+
20
+ base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
21
+ vendor_dir = base_dir + "vendor" + "local"
22
+ vendor_bin_dir = vendor_dir + "bin"
23
+ GLib.prepend_dll_path(vendor_bin_dir)
24
+ vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
25
+ GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
26
+
27
+ require "gio2/deprecated"
28
+ require "gio2/loader"
29
+
30
+ module Gio
31
+ LOG_DOMAIN = "Gio"
32
+ GLib::Log.set_log_domain(LOG_DOMAIN)
33
+
34
+ class Error < StandardError
35
+ end
36
+
37
+ class << self
38
+ def const_missing(name)
39
+ init
40
+ if const_defined?(name)
41
+ const_get(name)
42
+ else
43
+ super
44
+ end
45
+ end
46
+
47
+ def init
48
+ class << self
49
+ remove_method(:init)
50
+ remove_method(:const_missing)
51
+ end
52
+ loader = Loader.new(self)
53
+ loader.load("Gio")
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,118 @@
1
+ # Copyright (C) 2013 Ruby-GNOME2 Project Team
2
+ #
3
+ # This library is free software; you can redistribute it and/or
4
+ # modify it under the terms of the GNU Lesser General Public
5
+ # License as published by the Free Software Foundation; either
6
+ # version 2.1 of the License, or (at your option) any later version.
7
+ #
8
+ # This library is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
+ # Lesser General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU Lesser General Public
14
+ # License along with this library; if not, write to the Free Software
15
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
+
17
+ module GLib
18
+ extend GLib::Deprecatable
19
+ define_deprecated_const :AppInfo, 'Gio::AppInfo'
20
+ define_deprecated_const :AppLaunchContext, 'Gio::AppLaunchContext'
21
+ define_deprecated_const :AskPasswordFlags, 'Gio::AskPasswordFlags'
22
+ define_deprecated_const :AsyncInitable, 'Gio::AsyncInitable'
23
+ define_deprecated_const :AsyncResult, 'Gio::AsyncResult'
24
+ define_deprecated_const :BufferedInputStream, 'Gio::BufferedInputStream'
25
+ define_deprecated_const :BufferedOutputStream, 'Gio::BufferedOutputStream'
26
+ define_deprecated_const :Cancellable, 'Gio::Cancellable'
27
+ define_deprecated_const :CharsetConverter, 'Gio::CharsetConverter'
28
+ define_deprecated_const :ContentType, 'Gio::ContentType'
29
+ define_deprecated_const :Converter, 'Gio::Converter'
30
+ define_deprecated_const :ConverterInputStream, 'Gio::ConverterInputStream'
31
+ define_deprecated_const :ConverterOutputStream, 'Gio::ConverterOutputStream'
32
+ define_deprecated_const :DataInputStream, 'Gio::DataInputStream'
33
+ define_deprecated_const :DataOutputStream, 'Gio::DataOutputStream'
34
+ define_deprecated_const :DataStreamByteOrder, 'Gio::DataStreamByteOrder'
35
+ define_deprecated_const :DataStreamNewlineType, 'Gio::DataStreamNewlineType'
36
+ define_deprecated_const :DesktopAppInfo, 'Gio::DesktopAppInfo'
37
+ define_deprecated_const :Drive, 'Gio::Drive'
38
+ define_deprecated_const :Emblem, 'Gio::Emblem'
39
+ define_deprecated_const :EmblemedIcon, 'Gio::EmblemedIcon'
40
+ define_deprecated_const :File, 'Gio::File'
41
+ define_deprecated_const :FileAttribute, 'Gio::FileAttribute'
42
+ define_deprecated_const :FileAttributeInfo, 'Gio::FileAttributeInfo'
43
+ define_deprecated_const :FileAttributeMatcher, 'Gio::FileAttributeMatcher'
44
+ define_deprecated_const :FileDescriptorBased, 'Gio::FileDescriptorBased'
45
+ define_deprecated_const :FileEnumerator, 'Gio::FileEnumerator'
46
+ define_deprecated_const :FileIOStream, 'Gio::FileIOStream'
47
+ define_deprecated_const :FileIcon, 'Gio::FileIcon'
48
+ define_deprecated_const :FileInfo, 'Gio::FileInfo'
49
+ define_deprecated_const :FileInputStream, 'Gio::FileInputStream'
50
+ define_deprecated_const :FileMonitor, 'Gio::FileMonitor'
51
+ define_deprecated_const :FileOutputStream, 'Gio::FileOutputStream'
52
+ define_deprecated_const :FilenameCompleter, 'Gio::FilenameCompleter'
53
+ define_deprecated_const :FilesystemPreviewType, 'Gio::FilesystemPreviewType'
54
+ define_deprecated_const :FilterInputStream, 'Gio::FilterInputStream'
55
+ define_deprecated_const :FilterOutputStream, 'Gio::FilterOutputStream'
56
+ define_deprecated_const :IO, 'Gio::IO'
57
+ define_deprecated_const :IOModule, 'Gio::IOModule'
58
+ define_deprecated_const :IOModules, 'Gio::IOModules'
59
+ define_deprecated_const :IOScheduler, 'Gio::IOScheduler'
60
+ define_deprecated_const :IOSchedulerJob, 'Gio::IOSchedulerJob'
61
+ define_deprecated_const :IOStream, 'Gio::IOStream'
62
+ define_deprecated_const :Icon, 'Gio::Icon'
63
+ define_deprecated_const :InetAddress, 'Gio::InetAddress'
64
+ define_deprecated_const :InetSocketAddress, 'Gio::InetSocketAddress'
65
+ define_deprecated_const :Initable, 'Gio::Initable'
66
+ define_deprecated_const :InputStream, 'Gio::InputStream'
67
+ define_deprecated_const :LoadableIcon, 'Gio::LoadableIcon'
68
+ define_deprecated_const :MemoryInputStream, 'Gio::MemoryInputStream'
69
+ define_deprecated_const :MemoryOutputStream, 'Gio::MemoryOutputStream'
70
+ define_deprecated_const :Mount, 'Gio::Mount'
71
+ define_deprecated_const :MountOperation, 'Gio::MountOperation'
72
+ define_deprecated_const :NetworkAddress, 'Gio::NetworkAddress'
73
+ define_deprecated_const :NetworkService, 'Gio::NetworkService'
74
+ define_deprecated_const :OutputStream, 'Gio::OutputStream'
75
+ define_deprecated_const :PasswordSave, 'Gio::PasswordSave'
76
+ define_deprecated_const :Resolver, 'Gio::Resolver'
77
+ define_deprecated_const :Seekable, 'Gio::Seekable'
78
+ define_deprecated_const :SimpleAsyncResult, 'Gio::SimpleAsyncResult'
79
+ define_deprecated_const :Socket, 'Gio::Socket'
80
+ define_deprecated_const :SocketAddress, 'Gio::SocketAddress'
81
+ define_deprecated_const :SocketAddressEnumerator, 'Gio::SocketAddressEnumerator'
82
+ define_deprecated_const :SocketClient, 'Gio::SocketClient'
83
+ define_deprecated_const :SocketConnectable, 'Gio::SocketConnectable'
84
+ define_deprecated_const :SocketConnection, 'Gio::SocketConnection'
85
+ define_deprecated_const :SocketConnectionFactory, 'Gio::SocketConnectionFactory'
86
+ define_deprecated_const :SocketControlMessage, 'Gio::SocketControlMessage'
87
+ define_deprecated_const :SocketListener, 'Gio::SocketListener'
88
+ define_deprecated_const :SocketService, 'Gio::SocketService'
89
+ define_deprecated_const :SrvTarget, 'Gio::SrvTarget'
90
+ define_deprecated_const :TcpConnection, 'Gio::TcpConnection'
91
+ define_deprecated_const :ThemedIcon, 'Gio::ThemedIcon'
92
+ define_deprecated_const :ThreadedSocketService, 'Gio::ThreadedSocketService'
93
+ define_deprecated_const :UnixConnection, 'Gio::UnixConnection'
94
+ define_deprecated_const :UnixFDList, 'Gio::UnixFDList'
95
+ define_deprecated_const :UnixFDMessage, 'Gio::UnixFDMessage'
96
+ define_deprecated_const :UnixInputStream, 'Gio::UnixInputStream'
97
+ define_deprecated_const :UnixMount, 'Gio::UnixMount'
98
+ define_deprecated_const :UnixMountMonitor, 'Gio::UnixMountMonitor'
99
+ define_deprecated_const :UnixMountPoint, 'Gio::UnixMountPoint'
100
+ define_deprecated_const :UnixMountPoints, 'Gio::UnixMountPoints'
101
+ define_deprecated_const :UnixMounts, 'Gio::UnixMounts'
102
+ define_deprecated_const :UnixOutputStream, 'Gio::UnixOutputStream'
103
+ define_deprecated_const :UnixSocketAddress, 'Gio::UnixSocketAddress'
104
+ define_deprecated_const :Vfs, 'Gio::Vfs'
105
+ define_deprecated_const :Volume, 'Gio::Volume'
106
+ define_deprecated_const :VolumeMonitor, 'Gio::VolumeMonitor'
107
+ define_deprecated_const :ZlibCompressor, 'Gio::ZlibCompressor'
108
+ define_deprecated_const :ZlibDecompressor, 'Gio::ZlibDecompressor'
109
+ define_deprecated_enums 'Gio::FilesystemPreviewType', 'FILESYSTEM_PREVIEW_TYPE'
110
+ define_deprecated_enums 'Gio::DataStreamByteOrder', 'DATA_STREAM_BYTE_ORDER'
111
+ define_deprecated_enums 'Gio::DataStreamNewlineType', 'DATA_STREAM_NEWLINE_TYPE'
112
+ define_deprecated_flags 'Gio::AskPasswordFlags', 'ASK_PASSWORD'
113
+ define_deprecated_enums 'Gio::PasswordSave', 'PASSWORD_SAVE'
114
+ define_deprecated_singleton_method :gio_has_unix?, :warn => "Use 'Gio.has_unix?'." do |_self|
115
+ Gio.has_unix?
116
+ end
117
+ end
118
+