[sushi/alex-changes: 1/11] NULL terminate g_build_filename call
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/alex-changes: 1/11] NULL terminate g_build_filename call
- Date: Fri, 29 Apr 2011 14:27:10 +0000 (UTC)
commit a985dfef96fce37eb875645d2772de481e6d84ce
Author: Alexander Larsson <alexl redhat com>
Date: Fri Apr 29 08:22:22 2011 +0200
NULL terminate g_build_filename call
src/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index bae9faf..648d63d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -91,7 +91,7 @@ register_all_viewers (GjsContext *ctx)
while (name != NULL) {
path = g_build_filename (SUSHI_PKGDATADIR "/js/viewers",
- name);
+ name, NULL);
if (!gjs_context_eval_file (ctx,
path,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]