gio2 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/ext/gio2/rb-gio2.c +15 -0
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 641772657997d3ed85fa83c47ddd0ca91c5243e17c7378f250d41517545a1691
4
- data.tar.gz: 275adb45985d155ef45b70f5855c9d073683ccbeb47f4cf23ff15ce412db7607
3
+ metadata.gz: 736a1c5275a435a8ba65b375c1e08124841c12d460f4457af0e5908bd6e011db
4
+ data.tar.gz: dbc3c5a4442ca2ec6414a542dc57809bfbceefd4c735176f5690d209b56a278c
5
5
  SHA512:
6
- metadata.gz: cdea4aa0ad4e855a9ea0b1cc4692dfaef770b2d15e9d973801675ff09355c1f32822e4de9dfe2e1f6f4574be13d52b3c2cec83710f70e795531bf1e06c0f9d2f
7
- data.tar.gz: 139379b3bf244377b246239d8f78a8f075723b4bede4fc5c6935c767350464dab035192578a612159d40fb6ba737ff3b751cc2b340f012e2107fe8b57a2b5bad
6
+ metadata.gz: 1a5be761ccfd5e11e98bc21834c4c689932c97202233ce756bb14e1dbff756aa387b3a7e2e90c95f8634bba210b2b68376d38be43deaa0f51cc42b4a395490ec
7
+ data.tar.gz: 5236c7bcd2db1d1a14f746d27533985cc718e301ff232126fec8cbb4bdc5802bb7ea8dfa79547518e905dc2ec21ac466c6a110c9282ea2d1eb3bfdc8c0ad8f3c
data/ext/gio2/rb-gio2.c CHANGED
@@ -22,6 +22,21 @@
22
22
 
23
23
  #define RG_TARGET_NAMESPACE rb_mGio
24
24
 
25
+ #ifdef _WIN32
26
+ /* Workaround: See glib2/ext/glib2/rbglib.c for details. */
27
+ BOOL WINAPI
28
+ DllMain(G_GNUC_UNUSED HINSTANCE hinstDLL,
29
+ G_GNUC_UNUSED DWORD fdwReason,
30
+ G_GNUC_UNUSED LPVOID lpvReserved);
31
+ BOOL WINAPI
32
+ DllMain(G_GNUC_UNUSED HINSTANCE hinstDLL,
33
+ G_GNUC_UNUSED DWORD fdwReason,
34
+ G_GNUC_UNUSED LPVOID lpvReserved)
35
+ {
36
+ return TRUE;
37
+ }
38
+ #endif
39
+
25
40
  void
26
41
  Init_gio2 (void)
27
42
  {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gio2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-11 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fiddle
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.5.0
33
+ version: 3.5.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.5.0
40
+ version: 3.5.1
41
41
  description: Ruby/GIO2 provide Ruby binding to a VFS API and useful APIs for desktop
42
42
  applications (such as networking and D-Bus support).
43
43
  email: ruby-gnome2-devel-en@lists.sourceforge.net