[folks/folks-0-1] Make a result argument nullable



commit 4d0e5b265cc0094243e9b79acb45855cf924a361
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Thu Sep 16 11:58:36 2010 +0100

    Make a result argument nullable
    
    Since there is no .finish() method for this async function, and the result
    is always NULL, the result argument should be nullable. This prevents it
    spewing warnings.

 backends/telepathy/lib/tpf-persona-store.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala
index 6f8da33..4977abc 100644
--- a/backends/telepathy/lib/tpf-persona-store.vala
+++ b/backends/telepathy/lib/tpf-persona-store.vala
@@ -381,7 +381,7 @@ public class Tpf.PersonaStore : Folks.PersonaStore
     }
 
   private void new_group_channels_cb (TelepathyGLib.Channel? channel,
-      GLib.AsyncResult result)
+      GLib.AsyncResult? result)
     {
       if (channel == null)
         {



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