aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-24 21:43:31 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-24 21:43:31 +0000
commita5c0a556120d1ffa1aba820443c49b8c299cae44 (patch)
tree77ba7ae309e7ab1de05084f8a04aa9cf1520885d /src/include
parent380409315646ec606ce5b76bd42f54ac9e92dc1f (diff)
downloadgnunet-gtk-a5c0a556120d1ffa1aba820443c49b8c299cae44.tar.gz
gnunet-gtk-a5c0a556120d1ffa1aba820443c49b8c299cae44.zip
-LRN: make code more robust to LE and files not being in utf-8; 0001-Temporary-fix-for-charset-conversion patch from #2031
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_gtk.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/include/gnunet_gtk.h b/src/include/gnunet_gtk.h
index ee5bbf99..2b8dbcff 100644
--- a/src/include/gnunet_gtk.h
+++ b/src/include/gnunet_gtk.h
@@ -121,6 +121,34 @@ GNUNET_GTK_tray_icon_create (GtkWindow * main, const char *icon_name,
121void 121void
122GNUNET_GTK_tray_icon_destroy (void); 122GNUNET_GTK_tray_icon_destroy (void);
123 123
124char *
125GNUNET_GTK_from_utf8_to_loc (gchar *str_utf8);
126
127char *
128GNUNET_GTK_from_loc_to_utf8 (gchar *str_loc);
129
130char *
131GNUNET_GTK_from_filename_to_utf8 (gchar *filename);
132
133char *
134GNUNET_GTK_from_utf8_to_filename (gchar *str_utf8);
135
136char *
137GNUNET_GTK_from_loc_to_filename (gchar *str_loc);
138
139char *
140GNUNET_GTK_from_filename_to_loc (gchar *filename);
141
142/* Returns filename form filechooser, encoded in locale-dependent
143 * encoding, suitable to be given to CRT and/or GNUnet
144 */
145char *
146GNUNET_GTK_filechooser_get_filename_loc (GtkFileChooser *fc);
147
148gchar *
149GNUNET_GTK_filechooser_get_filename_utf8 (GtkFileChooser *fc);
150
151
124 152
125/* ******************* main loop ***************** */ 153/* ******************* main loop ***************** */
126 154