mirror of https://github.com/djcb/mu.git
* cosmetics
This commit is contained in:
parent
b0a60818a0
commit
34f47ae5ca
|
@ -126,13 +126,15 @@ get_values (GKeyFile *kfile, const gchar *group,
|
||||||
if (!*email)
|
if (!*email)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
*tstamp = (time_t)g_key_file_get_integer (kfile, group, TSTAMP_KEY, &err);
|
*tstamp = (time_t)g_key_file_get_integer (kfile, group,
|
||||||
|
TSTAMP_KEY, &err);
|
||||||
if (err)
|
if (err)
|
||||||
break;
|
break;
|
||||||
|
*personal = g_key_file_get_boolean (kfile, group,
|
||||||
*personal = g_key_file_get_boolean (kfile, group, PERSONAL_KEY, NULL);
|
PERSONAL_KEY, NULL);
|
||||||
*name = g_key_file_get_value (kfile, group, NAME_KEY, NULL);
|
*name = g_key_file_get_value (kfile, group, NAME_KEY, NULL);
|
||||||
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
} while (0);
|
} while (0);
|
||||||
|
|
|
@ -345,8 +345,6 @@ gchar* mu_str_guess_nick (const char* name)
|
||||||
gchar* mu_str_guess_first_name (const char* name)
|
gchar* mu_str_guess_first_name (const char* name)
|
||||||
G_GNUC_WARN_UNUSED_RESULT;
|
G_GNUC_WARN_UNUSED_RESULT;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* guess the last name for the given name; clearly,
|
* guess the last name for the given name; clearly,
|
||||||
* this is just a rough guess for setting an initial value.
|
* this is just a rough guess for setting an initial value.
|
||||||
|
@ -361,8 +359,8 @@ gchar* mu_str_guess_last_name (const char* name)
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* take a list of strings, and turn them in into their quoted
|
* take a list of strings, and return the concatenation of their
|
||||||
* concatenation
|
* quoted forms
|
||||||
*
|
*
|
||||||
* @param params NULL-terminated array of strings
|
* @param params NULL-terminated array of strings
|
||||||
*
|
*
|
||||||
|
|
|
@ -145,7 +145,6 @@ gboolean mu_util_is_local_file (const char* path);
|
||||||
*/
|
*/
|
||||||
gboolean mu_util_locale_is_utf8 (void) G_GNUC_CONST;
|
gboolean mu_util_locale_is_utf8 (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* write a string (assumed to be in utf8-format) to a stream,
|
* write a string (assumed to be in utf8-format) to a stream,
|
||||||
* converted to the current locale
|
* converted to the current locale
|
||||||
|
@ -178,7 +177,6 @@ gboolean mu_util_print_encoded (const char *frm, ...) G_GNUC_PRINTF(1,2);
|
||||||
gboolean mu_util_printerr_encoded (const char *frm, ...) G_GNUC_PRINTF(1,2);
|
gboolean mu_util_printerr_encoded (const char *frm, ...) G_GNUC_PRINTF(1,2);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* read a password from stdin (without echoing), and return it.
|
* read a password from stdin (without echoing), and return it.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue