aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-image-helper.h
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-03-11 16:34:22 -0500
committerKen VanDine <ken.vandine@canonical.com>2010-03-11 16:34:22 -0500
commitc74b2455350de6b46dd5b254a41e685783468283 (patch)
treedb318eb85d6b43c3e45406156df62f095de211cd /libindicator/indicator-image-helper.h
parente9aea6f9478ec403fee9e6791c178e4fe95da560 (diff)
parenta815f8420172fd403de2669ecce4b6a2c19dc5f9 (diff)
downloadlibayatana-indicator-c74b2455350de6b46dd5b254a41e685783468283.tar.gz
libayatana-indicator-c74b2455350de6b46dd5b254a41e685783468283.tar.bz2
libayatana-indicator-c74b2455350de6b46dd5b254a41e685783468283.zip
* Upstream release 0.3.5
* Adding in a image loader helper for indicators.
Diffstat (limited to 'libindicator/indicator-image-helper.h')
-rw-r--r--libindicator/indicator-image-helper.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libindicator/indicator-image-helper.h b/libindicator/indicator-image-helper.h
new file mode 100644
index 0000000..77e2f0a
--- /dev/null
+++ b/libindicator/indicator-image-helper.h
@@ -0,0 +1,33 @@
+/*
+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);
+void indicator_image_helper_update (GtkImage * image,
+ const gchar * name);
+
+#endif /* __INDICATOR_IMAGE_HELPER_H__ */