[seed] seed_create_script: fix line_number param documentation
- From: Alan Knowles <alank src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seed] seed_create_script: fix line_number param documentation
- Date: Thu, 13 Jun 2013 08:36:58 +0000 (UTC)
commit b8732050680386182c7a7e700e49443484ec582c
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date: Wed Jun 12 11:12:06 2013 +0200
seed_create_script: fix line_number param documentation
seed_create_script takes an int for line_number, so it can't
be passed NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=702094
libseed/seed-api.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libseed/seed-api.c b/libseed/seed-api.c
index 7ec4b11..ced6704 100644
--- a/libseed/seed-api.c
+++ b/libseed/seed-api.c
@@ -196,7 +196,7 @@ seed_object_call (JSContextRef ctx,
* @js: A string representing the contents of the script.
* @source_url: The filename of the script, for reference in errors, or %NULL.
* @line_number: The line number of the beginning of the script, for reference
- * in error messages, or %NULL.
+ * in error messages, or 0.
*
* Creates a new #SeedScript instance with @js as the contents, then
* checks for proper syntax.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]