1. 14 Feb, 2019 1 commit
    • Timm Bäder's avatar
      flowbox: Implement get_child_at_pos properly · c73e0709
      Timm Bäder authored
      With transforms in the mix, checking if the coordinate is inside the
      widget "allocation" makes even less sense. Just use gtk_widget_pick()
      and walk up until we find a GtkFlowBoxChild.
      c73e0709
  2. 07 Jan, 2019 1 commit
  3. 13 Nov, 2018 1 commit
  4. 26 Apr, 2018 3 commits
  5. 24 Apr, 2018 1 commit
    • Benjamin Otte's avatar
      snapshot: Redo debug messages · 73b4a62f
      Benjamin Otte authored
      Instead of every snapshot function having debug messages, have an
      explicit gtk_snapshot_push_debug() function that appends a debug node.
      73b4a62f
  6. 14 Apr, 2018 1 commit
  7. 05 Apr, 2018 2 commits
  8. 20 Mar, 2018 1 commit
    • Alexander Larsson's avatar
      GtkWidget: Start renaming widget->window · 63e060a2
      Alexander Larsson authored
      This is an automated change doing these command:
      
      git sed -f g gtk_widget_set_has_window gtk_widget_set_has_surface
      git sed -f g gtk_widget_get_has_window gtk_widget_get_has_surface
      git sed -f g gtk_widget_set_parent_window gtk_widget_set_parent_surface
      git sed -f g gtk_widget_get_parent_window gtk_widget_get_parent_surface
      git sed -f g gtk_widget_set_window gtk_widget_set_surface
      git sed -f g gtk_widget_get_window gtk_widget_get_surface
      git sed -f g gtk_widget_register_window gtk_widget_register_surface
      git sed -f g gtk_widget_unregister_window gtk_widget_unregister_surface
      
      git checkout NEWS*
      63e060a2
  9. 08 Feb, 2018 1 commit
  10. 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
  11. 31 Dec, 2017 1 commit
  12. 15 Dec, 2017 1 commit
  13. 06 Dec, 2017 1 commit
  14. 27 Nov, 2017 1 commit
  15. 18 Nov, 2017 2 commits
  16. 11 Nov, 2017 1 commit
  17. 05 Nov, 2017 1 commit
  18. 06 Oct, 2017 1 commit
    • Benjamin Otte's avatar
      build: Enable -Wswitch-enum and -Wswitch-default · 43c212ac
      Benjamin Otte authored
      This patch makes that work using 1 of 2 options:
      
      1. Add all missing enums to the switch statement
        or
      2. Cast the switch argument to a uint to avoid having to do that (mostly
         for GdkEventType).
      
      I even found a bug while doing that: clearing a GtkImage with a surface
      did not notify thae surface property.
      
      The reason for enabling this flag even though it is tedious at times is
      that it is very useful when adding values to an enum, because it makes
      GTK immediately warn about all the switch statements where this enum is
      relevant.
      And I expect changes to enums to be frequent during the GTK4 development
      cycle.
      43c212ac
  19. 19 Sep, 2017 3 commits
  20. 12 Sep, 2017 1 commit
    • Daniel Boles's avatar
      FlowBox: Explain how to avoid inflated min size · d207e039
      Daniel Boles authored
      along the orthogonal orientation. It seems a FlowBox on its own can only
      handle being shrunk along its main orientation. The orthogonal requests
      a huge min size – reserving what it would need if the main orientation
      got its min size, which would flow all children in 1 line orthogonally.
      
      Adding it to a ScrolledWindow (any policy) enables free shrinking, so
      size_allocate() can reflow how users in this situation probably expect.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=787021
      d207e039
  21. 09 Aug, 2017 1 commit
    • Timm Bäder's avatar
      widget: Remove gtk_widget_set_redraw_on_alloc · a8a755e5
      Timm Bäder authored
      Since gtk+ draws more than the widget and allocates more size to it than
      it knows about, this flag doesn't work anymore. Removing it (or setting
      it to TRUE for widgets that used to set it to FALSE) fixes drawing
      invalidation when these widgets get allocated a new size.
      a8a755e5
  22. 22 Jul, 2017 1 commit
  23. 20 Jul, 2017 6 commits
  24. 25 May, 2017 5 commits
  25. 25 Apr, 2017 1 commit