aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-image-helper.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-10 22:06:56 -0600
committerTed Gould <ted@gould.cx>2010-03-10 22:06:56 -0600
commitfc87fda00e8e42d5a212a199a6f9e8d350388905 (patch)
tree8787d836c971b9a08afe3976256da89b7b45a783 /libindicator/indicator-image-helper.h
parent8e12685bab175ee6d494d7545c5c4187385e41eb (diff)
parent5867fa760a390d48f30e8794f6292601c61cefad (diff)
downloadlibayatana-indicator-fc87fda00e8e42d5a212a199a6f9e8d350388905.tar.gz
libayatana-indicator-fc87fda00e8e42d5a212a199a6f9e8d350388905.tar.bz2
libayatana-indicator-fc87fda00e8e42d5a212a199a6f9e8d350388905.zip
Add a small helper for loading images.
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__ */