aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-image-helper.h
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-02-10 13:06:05 +0100
committerRobert Tari <robert@tari.in>2021-05-11 11:00:41 +0200
commitb8b206c6e84757c6d4d36cec619a1e7c37d1eb5f (patch)
tree2463a2275c43f0427c72bae8ef41d28f2644578a /src/indicator-image-helper.h
parent13c1c80b1e0cedea938960baf2229e29ab350830 (diff)
downloadlibayatana-indicator-b8b206c6e84757c6d4d36cec619a1e7c37d1eb5f.tar.gz
libayatana-indicator-b8b206c6e84757c6d4d36cec619a1e7c37d1eb5f.tar.bz2
libayatana-indicator-b8b206c6e84757c6d4d36cec619a1e7c37d1eb5f.zip
Move source files to src
Diffstat (limited to 'src/indicator-image-helper.h')
-rw-r--r--src/indicator-image-helper.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/indicator-image-helper.h b/src/indicator-image-helper.h
new file mode 100644
index 0000000..290f4e2
--- /dev/null
+++ b/src/indicator-image-helper.h
@@ -0,0 +1,35 @@
+/*
+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);
+void indicator_image_helper_update_from_gicon (GtkImage * image,
+ GIcon * icon);
+
+#endif /* __INDICATOR_IMAGE_HELPER_H__ */