From 8743d8c293f709feafcbe4bc8805651bce67c77e Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 16 May 2001 06:05:29 +0000 Subject: initialize the model and adapter. (button_press): set on the model. 2001-05-15 Chris Toshok * gui/search/e-addressbook-search-dialog.c (e_addressbook_search_dialog_init): initialize the model and adapter. (button_press): set on the model. (e_addressbook_search_dialog_new): same. (e_addressbook_search_dialog_set_arg): same. (e_addressbook_search_dialog_destroy): unref the model and adapter. * gui/search/e-addressbook-search-dialog.h (struct _EAddressbookSearchDialog): add our model and reflow adapter. svn path=/trunk/; revision=9840 --- addressbook/gui/search/e-addressbook-search-dialog.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'addressbook/gui/search/e-addressbook-search-dialog.h') diff --git a/addressbook/gui/search/e-addressbook-search-dialog.h b/addressbook/gui/search/e-addressbook-search-dialog.h index 8fcd23492d..efc928e046 100644 --- a/addressbook/gui/search/e-addressbook-search-dialog.h +++ b/addressbook/gui/search/e-addressbook-search-dialog.h @@ -23,6 +23,8 @@ #include +#include "addressbook/gui/widgets/e-addressbook-model.h" +#include "addressbook/gui/widgets/e-addressbook-reflow-adapter.h" #include "filter/rule-context.h" #include "filter/filter-rule.h" @@ -50,6 +52,9 @@ struct _EAddressbookSearchDialog GtkWidget *search; GtkWidget *view; + EAddressbookModel *model; + EAddressbookReflowAdapter *adapter; + RuleContext *context; FilterRule *rule; GtkWidget *scrolled_window; -- cgit v1.2.3