From 3be00e793df41c81b5188f7b0b8fb8fcfb75ed56 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Sun, 7 Sep 2008 14:46:42 +0000 Subject: Fix typos breaking compilation (bug #551212). 2008-09-07 Frederic Peters * gio/gfile.override (_wrap_g_file_load_contents) (_wrap_g_file_load_contents_finish): Fix typos breaking compilation (bug #551212). svn path=/trunk/; revision=966 --- ChangeLog | 6 ++++++ gio/gfile.override | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2405dd0..00825aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-09-07 Frederic Peters + + * gio/gfile.override (_wrap_g_file_load_contents) + (_wrap_g_file_load_contents_finish): Fix typos breaking + compilation (bug #551212). + 2008-09-07 Jonathan Matthew Bug 551059 – GFile load_contents methods chop data at first \0 diff --git a/gio/gfile.override b/gio/gfile.override index fb01203..77dad6f 100644 --- a/gio/gfile.override +++ b/gio/gfile.override @@ -176,7 +176,7 @@ _wrap_g_file_load_contents(PyGObject *self, GCancellable *cancellable; PyGObject *pycancellable = NULL; gchar *contents, *etag_out; - gsize lenght; + gsize length; GError *error = NULL; gboolean ret; @@ -190,7 +190,7 @@ _wrap_g_file_load_contents(PyGObject *self, return NULL; ret = g_file_load_contents(G_FILE(self->obj), cancellable, - &contents, &lenght, &etag_out, &error); + &contents, &length, &etag_out, &error); if (pyg_error_check(&error)) return NULL; @@ -251,7 +251,7 @@ _wrap_g_file_load_contents_finish(PyGObject *self, static char *kwlist[] = { "res", NULL }; PyGObject *res; gchar *contents, *etag_out; - gsize lenght; + gsize length; GError *error = NULL; gboolean ret; @@ -264,7 +264,7 @@ _wrap_g_file_load_contents_finish(PyGObject *self, ret = g_file_load_contents_finish(G_FILE(self->obj), G_ASYNC_RESULT(res->obj), &contents, - &lenght, &etag_out, &error); + &length, &etag_out, &error); if (pyg_error_check(&error)) return NULL; -- cgit