summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Rebillout <arnaudr@kali.org>2023-05-10 10:34:28 +0700
committerArnaud Rebillout <arnaudr@kali.org>2023-05-10 10:56:44 +0700
commitd6e57943ea411a9ae9df8036e12c87b6ade6d8ed (patch)
tree2805e6947cda7825cf4e0efc440fa6035c4b961a
parentf722f11e576f56d6029c9d09dcc04c185d34a28a (diff)
downloadglib-d6e57943ea411a9ae9df8036e12c87b6ade6d8ed.tar.gz
Fix style-check for {gconvert,gutils,gobject}.c
Also take this chance to change a 'Glib' to 'GLib'.
-rw-r--r--glib/gconvert.c3
-rw-r--r--glib/gutils.c4
-rw-r--r--gobject/gobject.c1
3 files changed, 3 insertions, 5 deletions
diff --git a/glib/gconvert.c b/glib/gconvert.c
index baf970244..5e3d781df 100644
--- a/glib/gconvert.c
+++ b/glib/gconvert.c
@@ -56,7 +56,6 @@
#include "glibintl.h"
-
/**
* SECTION:conversions
* @title: Character Set Conversion
@@ -85,7 +84,7 @@
* Character: P r e s e n t a c i รณ n . s x i
* Hex code: 50 72 65 73 65 6e 74 61 63 69 c3 b3 6e 2e 73 78 69
* ]|
- * Glib uses UTF-8 for its strings, and GUI toolkits like GTK that use
+ * GLib uses UTF-8 for its strings, and GUI toolkits like GTK that use
* GLib do the same thing. If you get a file name from the file system,
* for example, from readdir() or from g_dir_read_name(), and you wish
* to display the file name to the user, you will need to convert it
diff --git a/glib/gutils.c b/glib/gutils.c
index dddfa9b90..362c55aff 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -2575,12 +2575,12 @@ g_win32_get_system_data_dirs_for_module_real (void (*address_of_function)(void))
p = get_special_folder (&FOLDERID_ProgramData);
if (p)
g_array_append_val (data_dirs, p);
-
+
/* Documents and Settings\All Users\Documents */
p = get_special_folder (&FOLDERID_PublicDocuments);
if (p)
g_array_append_val (data_dirs, p);
-
+
/* Using the above subfolders of Documents and Settings perhaps
* makes sense from a Windows perspective.
*
diff --git a/gobject/gobject.c b/gobject/gobject.c
index 2d627d57b..b4186c561 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -136,7 +136,6 @@
* ]|
*/
-
/* --- macros --- */
#define PARAM_SPEC_PARAM_ID(pspec) ((pspec)->param_id)
#define PARAM_SPEC_SET_PARAM_ID(pspec, id) ((pspec)->param_id = (id))