From 398db562507d4f3071a0deb7acfa3eb7a94a4aaa Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 4 Jan 2001 20:52:20 +0000 Subject: Need to e_sexp_unref the the sexp, not gtk_object_unref it. 2001-01-04 JP Rosevear * backend/pas/pas-backend-file.c (pas_backend_file_book_view_free): Need to e_sexp_unref the the sexp, not gtk_object_unref it. svn path=/trunk/; revision=7256 --- addressbook/ChangeLog | 5 +++++ addressbook/backend/pas/pas-backend-file.c | 2 +- addressbook/contact-editor/Makefile.am | 2 -- addressbook/contact-editor/e-contact-editor.c | 1 + addressbook/gui/contact-editor/Makefile.am | 2 -- addressbook/gui/contact-editor/e-contact-editor.c | 1 + 6 files changed, 8 insertions(+), 5 deletions(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 6f96dbba45..ccfd805b97 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2001-01-04 JP Rosevear + + * backend/pas/pas-backend-file.c (pas_backend_file_book_view_free): + Need to e_sexp_unref the the sexp, not gtk_object_unref it. + 2001-01-03 Michael Meeks * gui/widgets/e-addressbook-model.c (get_view): check diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index 98f1962bd5..cfe7c90ab8 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -115,7 +115,7 @@ pas_backend_file_book_view_free(PASBackendFileBookView *book_view, void *closure { g_free(book_view->search); if (book_view->search_sexp) - gtk_object_unref(GTK_OBJECT(book_view->search_sexp)); + e_sexp_unref (book_view->search_sexp); g_free(book_view->search_context); g_free(book_view->change_id); diff --git a/addressbook/contact-editor/Makefile.am b/addressbook/contact-editor/Makefile.am index 1016d38301..665a651f15 100644 --- a/addressbook/contact-editor/Makefile.am +++ b/addressbook/contact-editor/Makefile.am @@ -17,8 +17,6 @@ noinst_LIBRARIES = \ libecontacteditor_a_SOURCES = \ e-contact-editor-address.c \ e-contact-editor-address.h \ - e-contact-editor-categories.c \ - e-contact-editor-categories.h \ e-contact-editor-fullname.c \ e-contact-editor-fullname.h \ e-contact-editor.c \ diff --git a/addressbook/contact-editor/e-contact-editor.c b/addressbook/contact-editor/e-contact-editor.c index 125ab38767..ee362dc2d1 100644 --- a/addressbook/contact-editor/e-contact-editor.c +++ b/addressbook/contact-editor/e-contact-editor.c @@ -29,6 +29,7 @@ #include #include #include "e-util/e-gui-utils.h" +#include #include #include #include diff --git a/addressbook/gui/contact-editor/Makefile.am b/addressbook/gui/contact-editor/Makefile.am index 1016d38301..665a651f15 100644 --- a/addressbook/gui/contact-editor/Makefile.am +++ b/addressbook/gui/contact-editor/Makefile.am @@ -17,8 +17,6 @@ noinst_LIBRARIES = \ libecontacteditor_a_SOURCES = \ e-contact-editor-address.c \ e-contact-editor-address.h \ - e-contact-editor-categories.c \ - e-contact-editor-categories.h \ e-contact-editor-fullname.c \ e-contact-editor-fullname.h \ e-contact-editor.c \ diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 125ab38767..ee362dc2d1 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -29,6 +29,7 @@ #include #include #include "e-util/e-gui-utils.h" +#include #include #include #include -- cgit v1.2.3