1. 11 Mar, 2021 1 commit
  2. 24 Jul, 2020 1 commit
  3. 10 Jun, 2020 1 commit
    • Carlos Garnacho's avatar
      gtkgesturezoom: Do not check touchpad phase on generic events · ba988cd8
      Carlos Garnacho authored
      This gesture handles both individual touch events and touchpad gesture
      events, and was checking the touchpad phase in generic code paths. This
      is dubious since event methods error out on the wrong GdkEventTypes.
      Check the touchpad gesture phase within the branch handling touchpad
      events, and make it clear which is the gesture phase of all that we are
      Fixes: #2825
  4. 16 Apr, 2020 1 commit
    • Emmanuele Bassi's avatar
      Restructure the GdkEvent type hierarchy · f28aa1ba
      Emmanuele Bassi authored
      GdkEvent has been a "I-can't-believe-this-is-not-OOP" type for ages,
      using a union of sub-types. This has always been problematic when it
      comes to implementing accessor functions: either you get generic API
      that takes a GdkEvent and uses a massive switch() to determine which
      event types have the data you're looking for; or you create namespaced
      accessors, but break language bindings horribly, as boxed types cannot
      have derived types.
      The recent conversion of GskRenderNode (which had similar issues) to
      GTypeInstance, and the fact that GdkEvent is now a completely opaque
      type, provide us with the chance of moving GdkEvent to GTypeInstance,
      and have sub-types for GdkEvent.
      The change from boxed type to GTypeInstance is pretty small, all things
      considered, but ends up cascading to a larger commit, as we still have
      backends and code in GTK trying to access GdkEvent structures directly.
      Additionally, the naming of the public getter functions requires
      renaming all the data structures to conform to the namespace/type-name
  5. 21 Feb, 2020 2 commits
    • Matthias Clasen's avatar
      events: reorganize getters · b1eaa502
      Matthias Clasen authored
      Restructure the getters for event fields to
      be more targeted at particular event types.
      Update all callers, and replace all direct
      event struct access with getters.
      As a side-effect, this drops some unused getters.
    • Matthias Clasen's avatar
      Strip const from GdkEvent · 31bf9da6
      Matthias Clasen authored
      Events are refcounted structs, and we generally don't
      pass these as const.
  6. 26 Apr, 2018 1 commit
  7. 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.
  8. 19 Oct, 2017 1 commit
  9. 19 Sep, 2017 2 commits
  10. 12 Sep, 2015 1 commit
  11. 12 Aug, 2015 1 commit
  12. 27 May, 2014 3 commits
  13. 23 May, 2014 5 commits