[folks] folks-inspect: Fix crashes when trying auto completion with parameters



commit 940f9169a82158a3d8bd070490a3897483055a91
Author: Raul Gutierrez Segales <raul gutierrez segales collabora co uk>
Date:   Sat Apr 9 18:29:54 2011 +0100

    folks-inspect: Fix crashes when trying auto completion with parameters
    
    Drop CCode since Vala uses null terminated arrays by default.
    
    Closes: bgo#647298

 NEWS                       |    2 ++
 tools/inspect/inspect.vala |    1 -
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 3ac1310..f718fbd 100644
--- 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
diff --git a/tools/inspect/inspect.vala b/tools/inspect/inspect.vala
index 57cf571..5240717 100644
--- a/tools/inspect/inspect.vala
+++ b/tools/inspect/inspect.vala
@@ -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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]