Helper and utilities functions
void |
|
void |
|
void |
|
void |
|
gboolean |
|
gchar * |
|
const gchar * |
|
const gchar * |
|
const gchar * |
|
const gchar * |
void flu_stream_list_free (GList *l);
Frees a list of streams
Since: 1.0
The list of streams to free.
void flu_bookmark_list_free (GList *l);
Frees a list of bookmarks
Since: 1.0
The list of bookmarks to free.
void flu_free (gpointer ptr);
Frees a pointer
Since: 1.0
The pointer to free Use this for methods where the library allocated the memory, like flu_stream_text_pango_get() or flu_stream_text_plain_get(), etc
void flu_screen_saver_enable (gboolean enable);
Enables or disables the screen saver
Since: 1.0
TRUE to enable the screen saver, FALSE to disable it
gboolean flu_uri_is_valid (const gchar *uri);
Checks if an URI is valid
Since: 1.0
The URI to validate
TRUE if the URI is valid, FALSE otherwise
gchar * flu_uri_from_filename (const gchar *filename);
Creates an URI string from a filename
Since: 1.0
The filename to convert to an URI
The newly allocated URI. Use g_free() to free it.
[transfer full]
const gchar * flu_language_iso_to_639_2T (const gchar *lang);
Converts language code in any of iso 639-1/2T/2B to constant static string with iso 639-2T
Since: 1.1
language code in any of iso 639-1/2T/2B
constant static string with iso 639-2T language code ("und" if language code is undetermined).
const gchar * flu_language_iso_to_639_2B (const gchar *lang);
Converts language code in any of iso 639-1/2T/2B to constant static string with iso 639-2B
Since: 1.1
language code in any of iso 639-1/2T/2B
constant static string with iso 639-2B language code ("und" if language code is undetermined).
const gchar * flu_language_iso_to_639_1 (const gchar *lang);
Converts language code in any of iso 639-1/2T/2B to constant static string with iso 639-1. May return NULL, if there's no correspondent iso 639-1 code.
Since: 1.1
language code in any of iso 639-1/2T/2B
constant static string with iso 639-1 language code, or NULL.
const gchar * flu_language_iso_to_long_name (const gchar *lang);
Converts language code in any of iso 639-1/2T/2B to constant static string with language name.
Since: 1.1
language code in any of iso 639-1/2T/2B
constant static string with name of corresponding language or "Undetermined".