From ed9c3c2696f67405739b48b2b8ad575a26dd58b3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 26 Aug 2006 04:03:37 +0000 Subject: [PATCH] Fix some typos. (#351741, Kjartan Maraas) 2006-08-26 Matthias Clasen * glib/gutils.h: * glib/gscanner.c: Fix some typos. (#351741, Kjartan Maraas) --- ChangeLog | 5 +++++ glib/gscanner.c | 6 +++--- glib/gutils.h | 4 +++- gobject/ChangeLog | 4 ++++ gobject/gobject.c | 2 +- 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4dd1ceee..76899cad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-26 Matthias Clasen + + * glib/gutils.h: + * glib/gscanner.c: Fix some typos. (#351741, Kjartan Maraas) + 2006-08-25 Matthias Clasen * configure.in: Fix the pthread compiler flag detection. diff --git a/glib/gscanner.c b/glib/gscanner.c index f7e5682e..233cc73b 100644 --- a/glib/gscanner.c +++ b/glib/gscanner.c @@ -744,9 +744,9 @@ g_scanner_sync_file_offset (GScanner *scanner) g_return_if_fail (scanner != NULL); /* for file input, rewind the filedescriptor to the current - * buffer position and blow the file read ahead buffer. usefull for - * third party uses of our filedescriptor, which hooks onto the current - * scanning position. + * buffer position and blow the file read ahead buffer. useful + * for third party uses of our file descriptor, which hooks + * onto the current scanning position. */ if (scanner->input_fd >= 0 && scanner->text_end > scanner->text) diff --git a/glib/gutils.h b/glib/gutils.h index 6ef90cb3..bf7cb904 100644 --- a/glib/gutils.h +++ b/glib/gutils.h @@ -211,10 +211,12 @@ gboolean g_setenv (const gchar *variable, gboolean overwrite); void g_unsetenv (const gchar *variable); gchar** g_listenv (void); + +/* private */ const gchar* _g_getenv_nomalloc (const gchar *variable, gchar buffer[1024]); -/* we try to provide a usefull equivalent for ATEXIT if it is +/* we try to provide a useful equivalent for ATEXIT if it is * not defined, but use is actually abandoned. people should * use g_atexit() instead. */ diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 793abef2..c4b02aee 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,7 @@ +2006-08-26 Matthias Clasen + + * gobject.c: Remove ; after G_DEFINE_TYPE. (#351741, Kjartan Maraas) + Wed Aug 23 10:35:32 2006 Tim Janik * gobject.[hc]: changed return value of g_value_dup_object(), fixes #343292. diff --git a/gobject/gobject.c b/gobject/gobject.c index d5290a10..2d6e9cd5 100644 --- a/gobject/gobject.c +++ b/gobject/gobject.c @@ -2242,7 +2242,7 @@ g_object_compat_control (gsize what, } } -G_DEFINE_TYPE (GInitiallyUnowned, g_initially_unowned, G_TYPE_OBJECT); +G_DEFINE_TYPE (GInitiallyUnowned, g_initially_unowned, G_TYPE_OBJECT) static void g_initially_unowned_init (GInitiallyUnowned *object) -- 2.34.1