[grilo-plugins] doc: Update TMDb example



commit 89a150bbcae17bbd804b601676cadcfc3e7eb7a4
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Fri Feb 7 21:32:15 2014 +0000

    doc: Update TMDb example
    
    Call grl_deinit() at the end.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710185

 help/examples/example-tmdb.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/help/examples/example-tmdb.c b/help/examples/example-tmdb.c
index 7050aca..71186ee 100644
--- a/help/examples/example-tmdb.c
+++ b/help/examples/example-tmdb.c
@@ -144,6 +144,11 @@ int main (int argc, char *argv[])
   g_object_unref (media);
   g_object_unref (config);
   g_object_unref (options);
+
+  /*
+   * Deinitialize Grilo:
+   */
+  grl_deinit ();
 }
 
 


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