diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-12 13:07:56 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-05-12 13:07:56 +0200 |
commit | 025c376068f63d8c2aa5899a3c0b1b827370da28 (patch) | |
tree | 99d5ce170fa25fd17f5d4569e8b3b3656c9fe44b /src/indicator-image-helper.h | |
parent | aa6723b9cc3dcac5b9bdd87944a8c99b74f16ba2 (diff) | |
parent | c277aa68455b232c37a4c52b39e948a6ab0b0e11 (diff) | |
download | libayatana-indicator-025c376068f63d8c2aa5899a3c0b1b827370da28.tar.gz libayatana-indicator-025c376068f63d8c2aa5899a3c0b1b827370da28.tar.bz2 libayatana-indicator-025c376068f63d8c2aa5899a3c0b1b827370da28.zip |
Merge branch 'tari01-pr/move-to-cmake'
Attributes GH PR #38: https://github.com/AyatanaIndicators/libayatana-indicator/pull/38
Diffstat (limited to 'src/indicator-image-helper.h')
-rw-r--r-- | src/indicator-image-helper.h | 35 |
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__ */ |