1. 02 Aug, 2022 2 commits
    • Nirbheek Chauhan's avatar
      pygi: Fix girepository deprecation warnings · b1c8f70f
      Nirbheek Chauhan authored
      These functions were deprecated in gobject-introspection 1.72
      
      GI_CHECK_VERSION was added after gobject-introspection 1.58, and we
      require 1.56.
      
      ../gi/pygi-closure.c: In function ‘_pygi_invoke_closure_free’:
      ../gi/pygi-closure.c:635:5: warning: ‘g_callable_info_free_closure’ is deprecated: Use 'g_callable_info_destroy_closure' instead [-Wdeprecated-declarations]
        635 |     g_callable_info_free_closure (invoke_closure->info,
            |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from ../gi/pygi-closure.h:22,
                       from ../gi/pygi-closure.c:20:
      /usr/include/gobject-introspection-1.0/girffi.h:106:15: note: declared here
        106 | void          g_callable_info_free_closure        (GICallableInfo       *callable_info,
            |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../gi/pygi-closure.c: In function ‘_pygi_make_native_closure’:
      ../gi/pygi-closure.c:674:9: warning: ‘g_callable_info_prepare_closure’ is deprecated: Use 'g_callable_info_create_closure' instead [-Wdeprecated-declarations]
        674 |         g_callable_info_prepare_closure (info, &closure->cif, _pygi_closure_handle,
            |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/include/gobject-introspection-1.0/girffi.h:100:15: note: declared here
        100 | ffi_closure * g_callable_info_prepare_closure     (GICallableInfo       *callable_info,
            |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      b1c8f70f
    • Nirbheek Chauhan's avatar
      examples: Fix flake8 whitespace error · 1cbffdb1
      Nirbheek Chauhan authored
      + python -m flake8
      ./examples/demo/demos/combobox.py:212:24: E275 missing whitespace after keyword
      1cbffdb1
  2. 16 Jul, 2022 4 commits
  3. 24 Apr, 2022 13 commits
  4. 17 Apr, 2022 2 commits
  5. 01 Apr, 2022 4 commits
  6. 19 Sep, 2021 6 commits
  7. 23 Aug, 2021 3 commits
  8. 07 Jun, 2021 2 commits
  9. 30 Apr, 2021 3 commits
  10. 27 Apr, 2021 1 commit
    • Christoph Reiter's avatar
      Expose GObject.Object.run_dispose() · eb5aefa6
      Christoph Reiter authored
      Up until now this raised an exception "This method is currently unsupported.".
      
      With Gtk.Widget.destroy() gone in gtk4 and that method often being used to remove
      references to other objects and breaking cycles this is the next best thing
      on a lower level and should make porting a bit easier.
      
      Fixes #470
      eb5aefa6