1. 02 Aug, 2021 1 commit
  2. 11 Mar, 2021 1 commit
  3. 24 Jul, 2020 1 commit
  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 3 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.
    • Matthias Clasen's avatar
      Pass translated coordinates outside the event · dd251d85
      Matthias Clasen authored
      We want to make events readonly, so stop translating
      their coordinates and instead pass the translated
      coordinates separately, when propagating events.
  6. 18 Dec, 2019 1 commit
    • Yariv Barkan's avatar
      gtkgesturerotate: Fix a memory leak · 0604924c
      Yariv Barkan authored
      On touchpads gtk_gesture_get_sequences() was called without a
      corresponding g_list_free(). The same was true for touchscreens
      if due to some reason only a single sequence was found.
  7. 02 Jun, 2019 1 commit
    • Christian Hergert's avatar
      gtk: fix all uses of g_cclosure_marshal_generic · 41e373f1
      Christian Hergert authored
      This adds specific marshallers for all of the locations where a generic
      marshaller is being used. It also provides va_marshallers to reduce the
      chances that we get stack traces from perf going through ffi_call_unix64.
      This is forward ported from gtk-3-24.
      # Conflicts:
      #	gtk/gtkeventcontrollerkey.c
      #	gtk/gtkeventcontrollermotion.c
      #	gtk/gtkgesture.c
      #	gtk/gtkgesturemultipress.c
  8. 26 Apr, 2018 1 commit
  9. 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.
  10. 19 Sep, 2017 3 commits
  11. 12 Sep, 2015 1 commit
  12. 12 Aug, 2015 1 commit
  13. 27 May, 2014 3 commits
  14. 23 May, 2014 5 commits