glib2 4.2.6 → 4.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/glib2/rbglib.h +2 -2
- data/ext/glib2/rbgobj_object.c +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1692b350ba7e26ae46a0bef912ab6ba2459b4b8ba41c93b76e4e72a182d669f0
|
4
|
+
data.tar.gz: 7493b4fdbf7e5afadb75c16e5a635e26d6921b7fde9611023645b0eb00cc49a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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-
|
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
|
36
|
+
#define RBGLIB_MICRO_VERSION 7
|
37
37
|
|
38
38
|
/* For Ruby < 3.0 */
|
39
39
|
#ifndef RB_LL2NUM
|
data/ext/glib2/rbgobj_object.c
CHANGED
@@ -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
|
-
|
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.
|
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-
|
10
|
+
date: 2025-01-28 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: pkg-config
|