gio2 1.2.6-x86-mingw32 → 2.0.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,14 +39,16 @@ G_BEGIN_DECLS
39
39
 
40
40
  #define USE_BLOCK_AND_SAVE(data) ((VALUE)data)
41
41
 
42
+ #if !GLIB_CHECK_VERSION(2, 34, 0)
42
43
  #define G_TYPE_FILE_ATTRIBUTE_MATCHER (g_file_attribute_matcher_get_type())
43
44
  GType g_file_attribute_matcher_get_type(void);
44
45
 
45
- #define G_TYPE_FILE_ATTRIBUTE_INFO (g_file_attribute_info_get_type())
46
- GType g_file_attribute_info_get_type(void);
47
-
48
46
  #define G_TYPE_FILE_ATTRIBUTE_INFO_LIST (g_file_attribute_info_list_get_type())
49
47
  GType g_file_attribute_info_list_get_type(void);
48
+ #endif
49
+
50
+ #define G_TYPE_FILE_ATTRIBUTE_INFO (g_file_attribute_info_get_type())
51
+ GType g_file_attribute_info_get_type(void);
50
52
 
51
53
  /* Conversion Macros */
52
54
  #define RVAL2TYPE_WITH_DEFAULT(value, type, default_value) \
@@ -28,6 +28,7 @@
28
28
  RVAL2GFILEATTRIBUTEINFOFLAGS, \
29
29
  G_FILE_ATTRIBUTE_INFO_NONE)
30
30
 
31
+ #if !GLIB_CHECK_VERSION(2, 34, 0)
31
32
  GType
32
33
  g_file_attribute_info_list_get_type(void)
33
34
  {
@@ -38,6 +39,7 @@ g_file_attribute_info_list_get_type(void)
38
39
  (GBoxedFreeFunc)g_file_attribute_info_list_unref);
39
40
  return our_type;
40
41
  }
42
+ #endif
41
43
 
42
44
  #define _SELF(value) RVAL2GFILEATTRIBUTEINFOLIST(value)
43
45
 
@@ -23,6 +23,7 @@
23
23
 
24
24
  #define RG_TARGET_NAMESPACE cFileAttributeMatcher
25
25
 
26
+ #if !GLIB_CHECK_VERSION(2, 34, 0)
26
27
  GType
27
28
  g_file_attribute_matcher_get_type(void)
28
29
  {
@@ -33,6 +34,7 @@ g_file_attribute_matcher_get_type(void)
33
34
  (GBoxedFreeFunc)g_file_attribute_matcher_unref);
34
35
  return our_type;
35
36
  }
37
+ #endif
36
38
 
37
39
  #define _SELF(value) RVAL2GFILEATTRIBUTEMATCHER(value)
38
40
 
Binary file
Binary file
@@ -3,7 +3,7 @@ require 'glib2'
3
3
  base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
4
4
  vendor_dir = base_dir + "vendor" + "local"
5
5
  vendor_bin_dir = vendor_dir + "bin"
6
- GLib.prepend_environment_path(vendor_bin_dir)
6
+ GLib.prepend_dll_path(vendor_bin_dir)
7
7
  begin
8
8
  major, minor, _ = RUBY_VERSION.split(/\./)
9
9
  require "#{major}.#{minor}/gio2.so"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gio2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 2.0.0
5
5
  prerelease:
6
6
  platform: x86-mingw32
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-04 00:00:00.000000000 Z
12
+ date: 2013-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: glib2
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.2.6
21
+ version: 2.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.2.6
29
+ version: 2.0.0
30
30
  description: Ruby/GIO2 is a Ruby binding of gio-2.x.
31
31
  email: ruby-gnome2-devel-en@lists.sourceforge.net
32
32
  executables: []