glib2 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 205c23fa8e99e5b02c1e34ca560c39ba61630df75cad92c806bd0c8f1263ec67
4
- data.tar.gz: 1a90de6e97fef0a0531aa1b5a3ae0074851f697c124db742114ca0ff469ae6aa
3
+ metadata.gz: 84cc021a2795944294c8735a12ef6c1c549bef81c750c59132e8d4350f75d878
4
+ data.tar.gz: 290b3d6a4e2f90857a95af36b78c45a414f37cdf2f9ae1f3871a44e65b4adcac
5
5
  SHA512:
6
- metadata.gz: 340a93388408c01dae1b7da4a0ec33cc12d62ec242df27880ba18a40a0d6638cf0ba39fba2e4b6381af636dcbdb674fb0ad104a235b9b185d2457e3d0ec9d8df
7
- data.tar.gz: 9e82a6f54c85041d88ecd05eea1db596ce753ac5574689ef15383a9f36bcae6c1a2b27393dc7c4063e3b3712836653162db681dc372676af78d93f6653a9153a
6
+ metadata.gz: b1962da1a1326f2d52af78b11935023bf7dd0e79d99ee0c554f04fddecf3fd4f473122cf9ddd25bcc49ead47e0d5c3e949f78e9dcf5764d14cf959a49744fba2
7
+ data.tar.gz: 317700b1cd2cde45273779cc6161efec4e23086e834375b5aad6821923a2bf56fd700ff7ab90a858956bc87a56775b2372f3affb355e471c5c685cb3e03a8beb
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
33
33
 
34
34
  #define RBGLIB_MAJOR_VERSION 3
35
35
  #define RBGLIB_MINOR_VERSION 4
36
- #define RBGLIB_MICRO_VERSION 0
36
+ #define RBGLIB_MICRO_VERSION 1
37
37
 
38
38
  #ifndef RB_ZALLOC
39
39
  # ifdef ZALLOC
@@ -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-2019 Ruby-GNOME Project Team
4
4
  * Copyright (C) 2006 Masao Mutoh
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -148,7 +148,7 @@ rg_load_from_dirs(int argc, VALUE *argv, VALUE self)
148
148
  GError* error = NULL;
149
149
  gboolean success;
150
150
  const gchar *file;
151
- const gchar **search_dirs;
151
+ gchar **search_dirs;
152
152
  gchar* full_path;
153
153
  GKeyFileFlags flags;
154
154
 
@@ -162,7 +162,7 @@ rg_load_from_dirs(int argc, VALUE *argv, VALUE self)
162
162
 
163
163
  if (search_dirs != NULL)
164
164
  success = g_key_file_load_from_dirs(_SELF(self), file,
165
- search_dirs,
165
+ (const gchar **)search_dirs,
166
166
  &full_path, flags, &error);
167
167
  else
168
168
  success = g_key_file_load_from_data_dirs(_SELF(self), file,
@@ -516,9 +516,13 @@ rg_set_string_list(VALUE self, VALUE rbgroup_name, VALUE rbkey, VALUE rblist)
516
516
  const gchar *group_name = RVAL2CSTR(rbgroup_name);
517
517
  const gchar *key = RVAL2CSTR(rbkey);
518
518
  long n;
519
- const gchar **list = RVAL2STRS(rblist, n);
519
+ gchar **list = RVAL2STRS(rblist, n);
520
520
 
521
- g_key_file_set_string_list(key_file, group_name, key, list, n);
521
+ g_key_file_set_string_list(key_file,
522
+ group_name,
523
+ key,
524
+ (const gchar * const *)list,
525
+ n);
522
526
 
523
527
  g_free(list);
524
528
 
@@ -533,9 +537,14 @@ rg_set_locale_string_list(VALUE self, VALUE rbgroup_name, VALUE rbkey, VALUE rbl
533
537
  const gchar *key = RVAL2CSTR(rbkey);
534
538
  const gchar *locale = RVAL2CSTR(rblocale);
535
539
  long n;
536
- const gchar **list = RVAL2STRS(rblist, n);
537
-
538
- g_key_file_set_locale_string_list(key_file, group_name, key, locale, list, n);
540
+ gchar **list = RVAL2STRS(rblist, n);
541
+
542
+ g_key_file_set_locale_string_list(key_file,
543
+ group_name,
544
+ key,
545
+ locale,
546
+ (const gchar * const *)list,
547
+ n);
539
548
 
540
549
  g_free(list);
541
550
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.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: 2019-10-10 00:00:00.000000000 Z
11
+ date: 2019-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config
@@ -223,7 +223,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
223
223
  - !ruby/object:Gem::Version
224
224
  version: '0'
225
225
  requirements: []
226
- rubygems_version: 3.1.0.pre1
226
+ rubyforge_project:
227
+ rubygems_version: 2.7.6.2
227
228
  signing_key:
228
229
  specification_version: 4
229
230
  summary: Ruby/GLib2 is a Ruby binding of GLib-2.x.