1. 21 May, 2022 1 commit
  2. 20 May, 2022 1 commit
  3. 19 May, 2022 4 commits
  4. 18 May, 2022 1 commit
  5. 05 May, 2022 4 commits
  6. 03 May, 2022 3 commits
  7. 02 May, 2022 4 commits
  8. 30 Apr, 2022 2 commits
    • Peter Bloomfield's avatar
      gtkimagedefinition: Extend commit b38266c0 · 54d319bc
      Peter Bloomfield authored
      Similarly, uses casts in `gtk_image_definition_unref()`. Compilation
      succeeds without them, unlike in `gtk_image_definition_ref()`, because
      `gtk_image_definition_unref()` is not called internally, unlike
      `gtk_image_definition_ref()`. But the build would fail if some function
      defined in the module were changed in the future to call
      `gtk_image_definition_unref()`, and we can future-proof it now. This
      also removes an inconsistency in how we access the members of the union.
      54d319bc
    • Peter Bloomfield's avatar
      gtkimagedefinition: Check array bounds · a5d208ad
      Peter Bloomfield authored
      `jhbuild build gtk+-3` with GCC 12 fails with:
      ```
      In function ‘gtk_image_definition_ref’,
          inlined from ‘gtk_image_definition_new_empty’
          at ../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:107:10:
      ../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:241:13: error:
          array subscript ‘GtkImageDefinition {aka union _GtkImageDefinition}[0]’
          is partly outside array bounds of ‘GtkImageDefinitionEmpty[1]’
          {aka ‘struct _GtkImageDefinitionEmpty[1]’} [-Werror=array-bounds]
        241 |   def->empty.ref_count++;
            |   ~~~~~~~~~~^~~~~~~~~~
      ../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:
          In function ‘gtk_image_definition_new_empty’:
      ../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:105:34: note:
      object ‘empty’ of size 8
        105 |   static GtkImageDefinitionEmpty empty = { GTK_IMAGE_EMPTY, 1 };
            |                                  ^~~~~
      ```
      and many similar errors.
      
      Fix it by casting `GtkImageDefinition` to `GtkImageDefinitionEmpty` or
      similar, as appropriate.
      
      Essentially backports 4dcd02e8 from main to gtk-3-24.
      a5d208ad
  9. 08 Apr, 2022 2 commits
  10. 02 Apr, 2022 1 commit
  11. 01 Apr, 2022 1 commit
  12. 27 Mar, 2022 1 commit
  13. 25 Mar, 2022 1 commit
  14. 24 Mar, 2022 1 commit
  15. 22 Mar, 2022 1 commit
  16. 18 Mar, 2022 1 commit
  17. 15 Mar, 2022 1 commit
  18. 14 Mar, 2022 2 commits
  19. 12 Mar, 2022 1 commit
  20. 11 Mar, 2022 3 commits
  21. 08 Mar, 2022 2 commits
  22. 07 Mar, 2022 1 commit
  23. 05 Mar, 2022 1 commit