diff options
| author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-16 08:29:52 +0200 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-06-16 08:29:52 +0200 |
| commit | 8b63acd444b8e8ad757e25b1f2fca0ec037f149f (patch) | |
| tree | 56e94f1e7b135f3c5f6151deea4a3c2772110d9f /src/utils.h | |
| parent | db18ded6c8a4ab9d4a0921a3f52e8f3507607238 (diff) | |
| parent | a30fd6325b842dad70812f78a919744ab854d7ee (diff) | |
| download | libayatana-common-8b63acd444b8e8ad757e25b1f2fca0ec037f149f.tar.gz libayatana-common-8b63acd444b8e8ad757e25b1f2fca0ec037f149f.tar.bz2 libayatana-common-8b63acd444b8e8ad757e25b1f2fca0ec037f149f.zip | |
Merge branch 'tari01-pr/add-menu-item-lengths'
Attributes GH PR #25: https://github.com/AyatanaIndicators/libayatana-common/pull/25
Diffstat (limited to 'src/utils.h')
| -rw-r--r-- | src/utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h index 0fa643b..13e2d2f 100644 --- a/src/utils.h +++ b/src/utils.h @@ -19,6 +19,8 @@ #pragma once #include <glib.h> +#include <glib-object.h> +#include <gio/gio.h> #define DESKTOP_LOMIRI "Lomiri" #define DESKTOP_UNITY "Unity" @@ -47,3 +49,5 @@ gboolean ayatana_common_utils_execute_command(const gchar * cmd); gboolean ayatana_common_utils_open_url(const gchar * url); gboolean ayatana_common_utils_have_program(const gchar * program); gboolean ayatana_common_utils_zenity_warning(const char *icon_name, const char *title, const char *text); + +void ayatana_common_utils_elipsize(char *sText); |
