diff options
author | Jannis Pohlmann <jannis@xfce.org> | 2009-05-22 01:48:00 +0200 |
---|---|---|
committer | Jannis Pohlmann <jannis@xfce.org> | 2009-05-22 01:48:00 +0200 |
commit | efab2f56c73c1dec60a14c83a5aff6a5620f7bbc (patch) | |
tree | b8fcee37105b2228a6d6aff319d2a111643e2d92 /.gitignore | |
parent | 2c9ff27c04812b52b4ba9ed02cd1c4c89da9b851 (diff) | |
download | tumbler-efab2f56c73c1dec60a14c83a5aff6a5620f7bbc.tar.gz |
Add error domain, TumblerThumbnailFlavor and thumbnail helper functions.
This commit adds the TUMBLER_ERROR_DOMAIN and TUMBLER_ERROR defines and
a TumblerErrorEnum with currently only containing TUMBLER_ERROR_FAILED.
Also new is the TumblerThumbnailFlavor enum type, together with a few
utility functions related to creating thumbnails:
- tumbler_thumbnail_get_flavors() returns all flavors supported by
the current build of tumbler,
- tumbler_thumbnail_flavor_get_size() returns the size corresponding
to a flavor (e.g. 128 for TUMBLER_THUMBNAIL_FLAVOR_NORMAL),
- tumbler_thumbnail_flavor_get_directory() returns a GFile pointing
to the flavor directory (e.g. $HOME/.thumbnails/normal/ for
TUMBLER_THUMBNAIL_FLAVOR_NORMAL),
- tumbler_thumbnail_get_file() returns a GFile pointing to the
thumbnail destination file of an URI and a flavor,
- tumbler_thumbnail_create_and_open_file() tries to create such a
GFile and also tries to open it for writing, returning the
GFileOutputStream if possible.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -29,9 +29,13 @@ stamp-h1 .deps .libs stamp-*.h -tumbler tumbler-manager-dbus-bindings.h tumbler-marshal.c tumbler-marshal.h *.swp commit-msg +*.lo +*.pc +*.*~ +*.la +tumbler-config.h |