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



commit 9d161199e67715ebe62ba4aa71e97f4114f3f7c7
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jun 22 17:38:59 2016 +0200

    Always build ESExp structure as a GObject descendant

 src/addressbook/e-book-backend-ews.c   |    2 +-
 src/utils/e-ews-query-to-restriction.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews.c b/src/addressbook/e-book-backend-ews.c
index e6579a8..ba4505e 100644
--- a/src/addressbook/e-book-backend-ews.c
+++ b/src/addressbook/e-book-backend-ews.c
@@ -2285,7 +2285,7 @@ e_book_backend_ews_build_restriction (const gchar *query,
        }
 
        e_sexp_result_free (sexp, r);
-       e_sexp_unref (sexp);
+       g_object_unref (sexp);
        g_free (sdata);
 
        return NULL;
diff --git a/src/utils/e-ews-query-to-restriction.c b/src/utils/e-ews-query-to-restriction.c
index 8939e4d..4b353b5 100644
--- a/src/utils/e-ews-query-to-restriction.c
+++ b/src/utils/e-ews-query-to-restriction.c
@@ -1178,7 +1178,7 @@ e_ews_convert_sexp_to_restriction (ESoapMessage *msg,
                return;
 
        e_sexp_result_free (sexp, r);
-       e_sexp_unref (sexp);
+       g_object_unref (sexp);
 }
 
 static gboolean


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