1. 31 Jan, 2014 1 commit
  2. 30 Jun, 2013 1 commit
  3. 02 Jun, 2013 1 commit
  4. 28 May, 2013 1 commit
  5. 26 Apr, 2013 2 commits
  6. 21 Apr, 2013 2 commits
    • Allison Karlitskaya's avatar
      GIcon: add g_icon_[de]serialize() · c16f914b
      Allison Karlitskaya authored
      Add support for serialising a GIcon to a GVariant and deserialising the
      result back to a GIcon.
      This solves a number of problems suffered by the existing to_string()
      API, primarily these:
       - not forcing the icon to be a utf8 string means that we can
         efficiently encode a PNG (ie: just give the array of bytes)
       - there is no need to ensure that proper types are loaded before using
         the deserialisation interface.  'Foreign' icon types will probably
         emit a serialised format the deserialises to a GBytesIcon.
      We additionally clearly document what is required for being a consumer
      or implementation of #GIcon.
      Further patches will be required to GdkPixbuf and GVfsIcon to bring
      their implementations in line with the new rules (essentially: introduce
      implementations of the new serialize() API).
    • Allison Karlitskaya's avatar
      Introduce GBytesIcon · 9cc222c0
      Allison Karlitskaya authored
      GBytesIcon is an icon that has a GBytes inside of it where the GBytes
      contains some sort of encoded image in a widely-recognised file format.
      Ideally this will be a PNG.
      It implements GLoadableIcon, so GTK will already understand how to use
      it, but we will add another patch there to make things more efficient.