1. 14 Mar, 2018 1 commit
  2. 13 Mar, 2018 8 commits
  3. 12 Mar, 2018 16 commits
  4. 10 Mar, 2018 1 commit
  5. 08 Mar, 2018 2 commits
  6. 07 Mar, 2018 2 commits
  7. 06 Mar, 2018 1 commit
    • Timm Bäder's avatar
      expander: fix sizes in resize_toplevel · 46828f8e
      Timm Bäder authored
      We can't use gtk_widget_get_allocation for either non-anchored widgets
      (which happens with the child widget when the expander is unexpanded)
      nor toplevel windows since that will include the window decorations.
      
      Fixes #70 in gtk3
      46828f8e
  8. 05 Mar, 2018 3 commits
  9. 04 Mar, 2018 6 commits
    • Rūdolfs Mazurs's avatar
      Update Latvian translation · bb498ba5
      Rūdolfs Mazurs authored
      bb498ba5
    • Christoph Reiter's avatar
      Merge branch 'phase-field' into 'gtk-3-22' · 5fc27126
      Christoph Reiter authored
      Fix introspection for GdkEventTouchpadPinch and GdkEventTouchpadSwipe.
      
      See merge request !45
      5fc27126
    • Rūdolfs Mazurs's avatar
      Update Latvian translation · cccb66af
      Rūdolfs Mazurs authored
      cccb66af
    • Tomasz Miąsko's avatar
      Fix introspection for GdkEventTouchpadPinch and GdkEventTouchpadSwipe. · 5d258bf3
      Tomasz Miąsko authored
      When using type annotations, the ABI of type being annotated and a new
      type introduced from annotation should match.
      
      In case of enumerations, the most common ABI, and probably the only one
      currently used in practice with gtk, corresponds to -fno-short-enums
      compiler option. It uses int as the underlying type of enum, bumping it
      up to unsigned int, long int or unsigned long int, in that order, when
      necessary.
      
      Thus, when annotating a field of integer type with an enum type, it is
      never correct to annotate field smaller than int, because it changes the
      ABI from perspective on introspection.
      
      The gint8 phase field in GdkEventTouchpadSwipe and GdkEventTouchpadPinch
      structures have been previously annotated in such a way, and this change
      removes this annotation to restore ABI compatibility.
      
      Size of structures before (which does not match C):
      
      ```
      >>> Gdk.EventTouchpadPinch.__info__.get_size()
      104
      >>> Gdk.EventTouchpadSwipe.__info__.get_size()
      88
      ```
      
      Size of structures after (which does match C):
      
      ```
      >>> Gdk.EventTouchpadPinch.__info__.get_size()
      96
      >>> Gdk.EventTouchpadSwipe.__info__.get_size()
      80
      ```
      
      Fixes issue #57.
      5d258bf3
    • Christoph Reiter's avatar
      Merge branch 'c-includes' into 'gtk-3-22' · 464888a2
      Christoph Reiter authored
      Include C headers in introspection file.
      
      See merge request !44
      464888a2
    • Tomasz Miąsko's avatar
      Include C headers in introspection file. · 91498c7d
      Tomasz Miąsko authored
      Include gtk/gtk.h and gtk/gtk-a11y.h unconditionally,
      and gtk/gtkx.h when building with X11. Ensures that
      introspection data contains complete set required
      headers, which is useful when generating C code based
      on introspection data.
      
      Diff for generated gir (when using X11):
      
      ```diff
         <include name="xlib" version="2.0"/>
         <package name="gtk+-3.0"/>
      +  <c:include name="gtk/gtk-a11y.h"/>
      +  <c:include name="gtk/gtk.h"/>
      +  <c:include name="gtk/gtkx.h"/>
         <namespace name="Gtk"
                    version="3.0"
      ```
      
      Fixes issue #56.
      91498c7d