[evolution-mapi] Always build ESExp structure as a GObject descendant



commit 584fada332e15258d8afcc8cfc0926be07fd5a8e
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jun 22 17:39:32 2016 +0200

    Always build ESExp structure as a GObject descendant

 src/libexchangemapi/e-mapi-book-utils.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libexchangemapi/e-mapi-book-utils.c b/src/libexchangemapi/e-mapi-book-utils.c
index 7b70669..a15e5ce 100644
--- a/src/libexchangemapi/e-mapi-book-utils.c
+++ b/src/libexchangemapi/e-mapi-book-utils.c
@@ -1202,7 +1202,7 @@ mapi_book_utils_sexp_to_restriction (TALLOC_CTX *mem_ctx, const gchar *sexp_quer
 
        e_sexp_input_text (sexp, sexp_query, strlen (sexp_query));
        if (e_sexp_parse (sexp) == -1) {
-               e_sexp_unref (sexp);
+               g_object_unref (sexp);
                return NULL;
        }
 
@@ -1215,7 +1215,7 @@ mapi_book_utils_sexp_to_restriction (TALLOC_CTX *mem_ctx, const gchar *sexp_quer
 
        e_sexp_result_free (sexp, r);
 
-       e_sexp_unref (sexp);
+       g_object_unref (sexp);
        g_ptr_array_free (esp.res_parts, TRUE);
 
        return restriction;


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