diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-03-30 00:23:56 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-03-30 00:23:56 +0200 |
commit | ad8dbe9b406b8b0b13be34234c9c1a40f3df5778 (patch) | |
tree | b860af474d194d9a5633fbffaa14f72853707e2c /src/ui.h | |
parent | 299174878a9deb2f077294ed02beb79599246ea6 (diff) | |
download | messenger-gtk-ad8dbe9b406b8b0b13be34234c9c1a40f3df5778.tar.gz messenger-gtk-ad8dbe9b406b8b0b13be34234c9c1a40f3df5778.zip |
Added functions to solve utf8 conversion issues
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/ui.h')
-rw-r--r-- | src/ui.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h new file mode 100644 index 0000000..3c06bcc --- /dev/null +++ b/src/ui.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | Copyright (C) 2022 GNUnet e.V. | ||
4 | |||
5 | GNUnet is free software: you can redistribute it and/or modify it | ||
6 | under the terms of the GNU Affero General Public License as published | ||
7 | by the Free Software Foundation, either version 3 of the License, | ||
8 | or (at your option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | Affero General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU Affero General Public License | ||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | |||
18 | SPDX-License-Identifier: AGPL3.0-or-later | ||
19 | */ | ||
20 | /* | ||
21 | * @author Tobias Frisch | ||
22 | * @file ui.h | ||
23 | */ | ||
24 | |||
25 | #ifndef UI_H_ | ||
26 | #define UI_H_ | ||
27 | |||
28 | #include <gtk-3.0/gtk/gtk.h> | ||
29 | #include <libhandy-1/handy.h> | ||
30 | |||
31 | void | ||
32 | ui_label_set_text(GtkLabel *label, const char *text); | ||
33 | |||
34 | void | ||
35 | ui_entry_set_text(GtkEntry *entry, const char *text); | ||
36 | |||
37 | void | ||
38 | ui_avatar_set_text(HdyAvatar *avatar, const char *text); | ||
39 | |||
40 | #endif /* UI_H_ */ | ||