gobject-introspection 4.0.4 → 4.0.6
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 +4 -4
 - data/ext/gobject-introspection/rb-gi-arguments.c +17 -2
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: e80fa07c525ca27e975ced41c22462a116c9681d62ea70b58f024d0c10b397ce
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 36372b25c0cc17bd72db6442532c80df147125ef564e821a38e00eff7a7c97ce
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: e35f75bdfcd207d64014cd3d0d99f9d67966d6f1ae7fc01d91ec3a36e2564f15a03442d0d61993937ebef40def6d1bac752fdf78cf223cd74fc63d0a75c6b6f1
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3d6436cb270a48fcc9cd8d91aa7823f66af46de554674c98f5f1dc42fdbc03884b1430f38f5d55805c711b3058a070796e6f2beac1dd8406cafa11d8eee83c56
         
     | 
| 
         @@ -419,8 +419,23 @@ static void 
     | 
|
| 
       419 
419 
     | 
    
         
             
            rb_gi_arguments_metadata_free(gpointer data)
         
     | 
| 
       420 
420 
     | 
    
         
             
            {
         
     | 
| 
       421 
421 
     | 
    
         
             
                RBGIArgMetadata *metadata = data;
         
     | 
| 
       422 
     | 
    
         
            -
                if (metadata->scope_type == GI_SCOPE_TYPE_ASYNC  
     | 
| 
       423 
     | 
    
         
            -
                     
     | 
| 
      
 422 
     | 
    
         
            +
                if (metadata->scope_type == GI_SCOPE_TYPE_ASYNC) {
         
     | 
| 
      
 423 
     | 
    
         
            +
                    /* We can't free async scope argument's metadata immediately
         
     | 
| 
      
 424 
     | 
    
         
            +
                     * because async scope argument is called later and it uses its
         
     | 
| 
      
 425 
     | 
    
         
            +
                     * metadata. Its metadata is freed when async scope argument is called.
         
     | 
| 
      
 426 
     | 
    
         
            +
                     *
         
     | 
| 
      
 427 
     | 
    
         
            +
                     * Exception: We can free GDestroyNotify's metadata
         
     | 
| 
      
 428 
     | 
    
         
            +
                     * immediately because GDestroyNotify is only used in
         
     | 
| 
      
 429 
     | 
    
         
            +
                     * Ruby/GObjectIntrospection and Ruby/GObjectIntorspection
         
     | 
| 
      
 430 
     | 
    
         
            +
                     * doesn't use GDestroyNotify's metadata. */
         
     | 
| 
      
 431 
     | 
    
         
            +
                    if (!metadata->destroy_p) {
         
     | 
| 
      
 432 
     | 
    
         
            +
                        return;
         
     | 
| 
      
 433 
     | 
    
         
            +
                    }
         
     | 
| 
      
 434 
     | 
    
         
            +
                }
         
     | 
| 
      
 435 
     | 
    
         
            +
                /* We can't free notified scope argument's metadata immediately
         
     | 
| 
      
 436 
     | 
    
         
            +
                 * because notified scope argument is called later and it uses its
         
     | 
| 
      
 437 
     | 
    
         
            +
                 * metadata. Its metadata is freed when its GDestroyNotify is called. */
         
     | 
| 
      
 438 
     | 
    
         
            +
                if (metadata->scope_type == GI_SCOPE_TYPE_NOTIFIED) {
         
     | 
| 
       424 
439 
     | 
    
         
             
                    return;
         
     | 
| 
       425 
440 
     | 
    
         
             
                }
         
     | 
| 
       426 
441 
     | 
    
         
             
                rb_gi_arg_metadata_free(metadata);
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: gobject-introspection
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 4.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 4.0.6
         
     | 
| 
       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:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-01-08 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: glib2
         
     | 
| 
         @@ -16,14 +16,14 @@ dependencies: 
     | 
|
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
17 
     | 
    
         
             
                - - '='
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version: 4.0. 
     | 
| 
      
 19 
     | 
    
         
            +
                    version: 4.0.6
         
     | 
| 
       20 
20 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       21 
21 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       22 
22 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       23 
23 
     | 
    
         
             
                requirements:
         
     | 
| 
       24 
24 
     | 
    
         
             
                - - '='
         
     | 
| 
       25 
25 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       26 
     | 
    
         
            -
                    version: 4.0. 
     | 
| 
      
 26 
     | 
    
         
            +
                    version: 4.0.6
         
     | 
| 
       27 
27 
     | 
    
         
             
            description: Ruby/GObjectIntrospection provides bindings of GObject Introspection
         
     | 
| 
       28 
28 
     | 
    
         
             
              and a loader module that can generate dynamically Ruby bindings of any GObject C
         
     | 
| 
       29 
29 
     | 
    
         
             
              libraries
         
     |