folks-inspect: Fix crashes when trying auto completion with parameters
authorRaul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>
Sat, 9 Apr 2011 17:29:54 +0000 (18:29 +0100)
committerRaul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>
Mon, 11 Apr 2011 15:58:18 +0000 (16:58 +0100)
Drop CCode since Vala uses null terminated arrays by default.

Closes: bgo#647298

NEWS
tools/inspect/inspect.vala

diff --git a/NEWS b/NEWS
index 3ac1310..f718fbd 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -29,6 +29,8 @@ Bugs fixed:
 * Bug 647168 — print the "web-service-addresses" property correctly
 * Bug 646831 — Setting an existing phone number or e-mail address on a
   Trf.Persona fails
+* Bug 647298 — folks-inspect gets SIGSEGV when trying to auto-complete
+  parameters
 
 API changes:
 * Add equal () to StructuredName
index 57cf571..5240717 100644 (file)
@@ -214,7 +214,6 @@ private abstract class Folks.Inspect.Command
 
   public abstract void run (string? command_string);
 
-  [CCode (array_length = false, array_null_terminated = true)]
   public virtual string[]? complete_subcommand (string subcommand)
     {
       /* Default implementation */