aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-image-helper.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-10 16:55:44 -0600
committerTed Gould <ted@gould.cx>2010-03-10 16:55:44 -0600
commit680631ecb23035db0ef370419d4b6334aa516db1 (patch)
treeb3c12eb65c2c2f3fc916726f12031e5661a415e9 /libindicator/indicator-image-helper.h
parent436e5f16715448637e71fad02689d99eb7a2d8c6 (diff)
parent5867fa760a390d48f30e8794f6292601c61cefad (diff)
downloadlibayatana-indicator-680631ecb23035db0ef370419d4b6334aa516db1.tar.gz
libayatana-indicator-680631ecb23035db0ef370419d4b6334aa516db1.tar.bz2
libayatana-indicator-680631ecb23035db0ef370419d4b6334aa516db1.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__ */