aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-image-helper.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-10 22:10:05 -0600
committerTed Gould <ted@gould.cx>2010-03-10 22:10:05 -0600
commitfdba9943dd3f86221df081b4c94089b30dfb9fef (patch)
tree618269f52f122feaf6100fe2421a6b08eba71c29 /libindicator/indicator-image-helper.h
parent436e5f16715448637e71fad02689d99eb7a2d8c6 (diff)
parentfc9f46093c8b8a6564c62b5e6c9b6ec591acbf99 (diff)
downloadlibayatana-indicator-fdba9943dd3f86221df081b4c94089b30dfb9fef.tar.gz
libayatana-indicator-fdba9943dd3f86221df081b4c94089b30dfb9fef.tar.bz2
libayatana-indicator-fdba9943dd3f86221df081b4c94089b30dfb9fef.zip
* Upstream merge
* Adding in a image loader helper for indicators.
Diffstat (limited to 'libindicator/indicator-image-helper.h')
-rw-r--r--libindicator/indicator-image-helper.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/libindicator/indicator-image-helper.h b/libindicator/indicator-image-helper.h
new file mode 100644
index 0000000..fed02dc
--- /dev/null
+++ b/libindicator/indicator-image-helper.h
@@ -0,0 +1,31 @@
+/*
+A little helper to make a themed image with fallbacks that
+is only constrained in the vertical dimention.
+
+Copyright 2010 Canonical Ltd.
+
+Authors:
+ Ted Gould <ted@canonical.com>
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+version 3.0 as published by the Free Software Foundation.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License version 3.0 for more details.
+
+You should have received a copy of the GNU General Public
+License along with this library. If not, see
+<http://www.gnu.org/licenses/>.
+*/
+
+#ifndef __INDICATOR_IMAGE_HELPER_H__
+#define __INDICATOR_IMAGE_HELPER_H__
+
+#include <gtk/gtk.h>
+
+GtkImage * indicator_image_helper (const gchar * name);
+
+#endif /* __INDICATOR_IMAGE_HELPER_H__ */