glib2 4.2.6 → 4.2.7

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e278dde163e8d497ede015df6d5b274379bfe750ac7ffd56da075f131788363d
4
- data.tar.gz: 8eb2125a49ae54dab3551f626e3ed16cba35637782f0237094ec9408f3afe3eb
3
+ metadata.gz: 1692b350ba7e26ae46a0bef912ab6ba2459b4b8ba41c93b76e4e72a182d669f0
4
+ data.tar.gz: 7493b4fdbf7e5afadb75c16e5a635e26d6921b7fde9611023645b0eb00cc49a5
5
5
  SHA512:
6
- metadata.gz: 213be1775836e0fc704ecda13ccc0acec168a663c7d7febcf469ad09231d6a61e6096e980fdbbc7187001024dff57dcc43e43f9620f6cc51241e3664b57f0f6d
7
- data.tar.gz: 1b3d657906865e78ef16f13585f8c32c5881f59096496c076c178df2ec653068dda7d2529d75266d203639172dd87e7e673ac01c661185bb3e3cf651c57f41e2
6
+ metadata.gz: 40bd8a6029a3c549d32df40f0f7427ee83191187ffd6e71204e90f9edebab0f258444937b79533726e064f4fbdd5106d5903ff142c8d74683c38a42409b30cc7
7
+ data.tar.gz: 41daf9b48f037b3cbb2535f0e5dc2fe51fbfa6e8bd716572dcebd8bf69c706c9cbd5a41be89e5c056bad055817a6591a6ee1f36153870d8043dcc7408c1d3f07
data/ext/glib2/rbglib.h CHANGED
@@ -1,6 +1,6 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
2
  /*
3
- * Copyright (C) 2002-2024 Ruby-GNOME Project Team
3
+ * Copyright (C) 2002-2025 Ruby-GNOME Project Team
4
4
  * Copyright (C) 2002,2003 Masahiro Sakai
5
5
  *
6
6
  * This library is free software; you can redistribute it and/or
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
33
33
 
34
34
  #define RBGLIB_MAJOR_VERSION 4
35
35
  #define RBGLIB_MINOR_VERSION 2
36
- #define RBGLIB_MICRO_VERSION 6
36
+ #define RBGLIB_MICRO_VERSION 7
37
37
 
38
38
  /* For Ruby < 3.0 */
39
39
  #ifndef RB_LL2NUM
@@ -373,9 +373,15 @@ rbgobj_gobject_new(int argc, VALUE *argv, GType gtype)
373
373
  g_type_name(gtype));
374
374
 
375
375
  VALUE rb_properties = Qnil;
376
+ #ifdef RB_SCAN_ARGS_LAST_HASH_KEYWORDS
376
377
  /* TODO: Can we use rb_get_kwargs()? */
377
- rb_scan_args_kw(RB_SCAN_ARGS_LAST_HASH_KEYWORDS,
378
- argc, argv, "0:", &rb_properties);
378
+ rb_scan_args_kw(RB_SCAN_ARGS_LAST_HASH_KEYWORDS, argc, argv,
379
+ "0:", &rb_properties);
380
+ #else
381
+ /* We can remove this when we drop support for AlmaLinux 8 that
382
+ * ships Ruby 2.5 as the default Ruby. */
383
+ rb_scan_args(argc, argv, "01", &rb_properties);
384
+ #endif
379
385
 
380
386
  GObject *gobject;
381
387
  if (NIL_P(rb_properties)) {
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib2
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.6
4
+ version: 4.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-25 00:00:00.000000000 Z
10
+ date: 2025-01-28 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: pkg-config