From: Andrea Zagli Date: Sat, 12 Dec 2015 10:28:04 +0000 (+0100) Subject: Renamed ZakUtils::str_to_boolean to ::string_to_boolean. X-Git-Tag: v0.0.1~4 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=e7f6f850d481cd09b66bde572a6871a667a2a99c;p=libzakutils Renamed ZakUtils::str_to_boolean to ::string_to_boolean. --- diff --git a/src/generic.c b/src/generic.c index 7ab5f07..f732001 100644 --- a/src/generic.c +++ b/src/generic.c @@ -437,7 +437,7 @@ GValue } /** - * zak_utils_str_to_boolean: + * zak_utils_string_to_boolean: * @value: * * Utility function to convert a string to its #gboolean equivalent. @@ -445,7 +445,7 @@ GValue * Returns: the #gboolean equivalent from @value. */ gboolean -zak_utils_str_to_boolean (const gchar *str) +zak_utils_string_to_boolean (const gchar *str) { gchar *str_value; gboolean bool_value; diff --git a/src/generic.h b/src/generic.h index bfa0fe2..d509d79 100644 --- a/src/generic.h +++ b/src/generic.h @@ -49,7 +49,7 @@ GValue *zak_utils_gvalue_new_boolean (gboolean b); GValue *zak_utils_gvalue_new_float (gfloat f); GValue *zak_utils_gvalue_new_gdatetime (GDateTime *datetime); -gboolean zak_utils_str_to_boolean (const gchar *str); +gboolean zak_utils_string_to_boolean (const gchar *str); G_END_DECLS