gio2 1.1.5-x86-mingw32 → 1.1.6-x86-mingw32

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.
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2011 Ruby-GNOME2 Project Team
3
+ * Copyright (C) 2011-2012 Ruby-GNOME2 Project Team
4
4
  * Copyright (C) 2008-2009 Ruby-GNOME2 Project Team
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -266,7 +266,7 @@ rg_connected_p(VALUE self)
266
266
  static gboolean
267
267
  source_func(GSocket *socket, GIOCondition condition, gpointer user_data)
268
268
  {
269
- VALUE callback = GPOINTER_TO_UINT(user_data);
269
+ VALUE callback = (VALUE)user_data;
270
270
  return RVAL2CBOOL(rb_funcall(callback, id_call, 2,
271
271
  GOBJ2RVAL(socket),
272
272
  GIOCONDITION2RVAL(condition)));
@@ -286,7 +286,7 @@ rg_create_source(int argc, VALUE *argv, VALUE self)
286
286
  G_RELATIVE(self, callback);
287
287
  g_source_set_callback(source,
288
288
  (GSourceFunc)source_func,
289
- GUINT_TO_POINTER(callback),
289
+ (gpointer)callback,
290
290
  NULL);
291
291
  return GSOURCE2RVAL(source);
292
292
  }
Binary file
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gio2
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 5
10
- version: 1.1.5
9
+ - 6
10
+ version: 1.1.6
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - The Ruby-GNOME2 Project Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-28 00:00:00 Z
18
+ date: 2012-12-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: glib2
@@ -25,12 +25,12 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- hash: 25
28
+ hash: 31
29
29
  segments:
30
30
  - 1
31
31
  - 1
32
- - 5
33
- version: 1.1.5
32
+ - 6
33
+ version: 1.1.6
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  description: Ruby/GIO2 is a Ruby binding of gio-2.x.