1. 11 Oct, 2021 1 commit
  2. 27 Jul, 2021 1 commit
  3. 02 Mar, 2020 1 commit
  4. 27 Nov, 2019 1 commit
    • Emmanuele Bassi's avatar
      Use a single compilation symbol · def70073
      Emmanuele Bassi authored
      We use a compilation symbol in our build to allow the inclusion of
      specific headers while building GTK, to avoid the need to include only
      the global header.
      
      Each namespace has its own compilation symbol because we used to have
      different libraries, and strict symbol visibility between libraries;
      now that we have a single library, and we can use private symbols across
      namespaces while building GTK, we should have a single compilation
      symbol, and simplify the build rules.
      def70073
  5. 06 Feb, 2018 1 commit
    • Matthias Clasen's avatar
      The big versioning cleanup · 4c150d8e
      Matthias Clasen authored
      Remove all the old 2.x and 3.x version annotations.
      GTK+ 4 is a new start, and from the perspective of a
      GTK+ 4 developer all these APIs have been around since
      the beginning.
      4c150d8e
  6. 03 Feb, 2018 1 commit
    • Emmanuele Bassi's avatar
      Allow binding GdkContentFormatsBuilder · 2cbe094b
      Emmanuele Bassi authored
      GdkContentFormatsBuilder is currently not introspectable, as it does not
      have a GType. We can turn it into a boxed type, but we need to implement
      memory management for it.
      
      The current gdk_content_formats_builder_free() function returns a newly
      constructed value, so we cannot use it as a GBoxedFreeFunc; additionally
      copying a GdkContentFormatsBuilder contents would make it a bit odd, as
      you could get multiple identical GdkContentFormats out of the copies.
      
      A simple approach is to model the GdkContentFormatsBuilder API to follow
      the GBytes one: use reference counting for memory management, and have
      a function to release a reference, return a GdkContentFormats, and reset
      the GdkContentFormatsBuilder state.
      
      For language bindings, we can provide a get_formats() function that
      returns the GdkContentFormats instance and resets the builder instance,
      leaving the reference count untouched.
      
      For C convenience we can keep gdk_content_formats_builder_free(), and
      make it a wrapper around gdk_content_formats_builder_get_formats(), with
      the guarantee that it'll free the builder instance regardless of its
      current reference count.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=793097
      https://blogs.gnome.org/otte/2018/02/03/builders/
      2cbe094b
  7. 03 Dec, 2017 4 commits
  8. 20 Nov, 2017 7 commits