Remove gtk_window_set_policy call since that function is deprecated and it

* gui/search/e-addressbook-search-dialog.c
	(e_addressbook_search_dialog_init): Remove gtk_window_set_policy
	call since that function is deprecated and it was just setting
	everything to the default values anyway.

	* gui/widgets/e-addressbook-util.c: #include gal/util/e-util.h for
	e_free_object_list.

svn path=/trunk/; revision=21904
This commit is contained in:
Dan Winship
2003-07-23 15:02:39 +00:00
parent a356037663
commit c1cfb3197a
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
2003-07-23 Dan Winship <danw@ximian.com>
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): Remove gtk_window_set_policy
call since that function is deprecated and it was just setting
everything to the default values anyway.
* gui/widgets/e-addressbook-util.c: #include gal/util/e-util.h for
e_free_object_list.
2003-07-22 Dan Winship <danw@ximian.com>
* backend/ebook/e-card.c: (e_card_new,

View File

@ -112,7 +112,6 @@ e_addressbook_search_dialog_init (EAddressbookSearchDialog *view)
{
GtkDialog *dialog = GTK_DIALOG (view);
gtk_window_set_policy(GTK_WINDOW(view), FALSE, TRUE, FALSE);
gtk_window_set_default_size (GTK_WINDOW (view), 550, 400);
gtk_window_set_title(GTK_WINDOW(view), _("Advanced Search"));
view->search = get_widget(view);

View File

@ -24,6 +24,7 @@
#include "ebook/e-destination.h"
#include <gnome.h>
#include <gal/util/e-util.h>
#include "e-card-merging.h"
#include <shell/evolution-shell-client.h>