[vte/vte-0-32] Fix argument order in odd API
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-32] Fix argument order in odd API
- Date: Wed, 15 Feb 2012 01:16:08 +0000 (UTC)
commit c0fbf94743d10c4cd26b8cbfc41067d38fe39f56
Author: Christian Persch <chpe gnome org>
Date: Wed Feb 15 02:15:56 2012 +0100
Fix argument order in odd API
src/vtetc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/vtetc.c b/src/vtetc.c
index 2a76f38..cc75bf8 100644
--- a/src/vtetc.c
+++ b/src/vtetc.c
@@ -499,8 +499,8 @@ _vte_termcap_new_from_file (const char *path)
data = g_bytes_new_with_free_func (g_mapped_file_get_contents (file),
g_mapped_file_get_length (file),
- file,
- (GDestroyNotify) g_mapped_file_unref);
+ (GDestroyNotify) g_mapped_file_unref,
+ file);
return _vte_termcap_new_take_bytes (data);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]