aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-07-23 23:02:39 +0800
committerDan Winship <danw@src.gnome.org>2003-07-23 23:02:39 +0800
commitc1cfb3197a6378341e6bdfb2c69ecd6621ca0c96 (patch)
tree7a55cfba5d252aa62dd08b4facb26e84c112cd15
parenta35603766331792d7a6af2d55a18aa92783c8a6d (diff)
downloadgsoc2013-evolution-c1cfb3197a6378341e6bdfb2c69ecd6621ca0c96.tar.gz
gsoc2013-evolution-c1cfb3197a6378341e6bdfb2c69ecd6621ca0c96.tar.zst
gsoc2013-evolution-c1cfb3197a6378341e6bdfb2c69ecd6621ca0c96.zip
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
-rw-r--r--addressbook/ChangeLog10
-rw-r--r--addressbook/gui/search/e-addressbook-search-dialog.c1
-rw-r--r--addressbook/gui/widgets/e-addressbook-util.c1
3 files changed, 11 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 0983448543..5dd942495b 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -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,
diff --git a/addressbook/gui/search/e-addressbook-search-dialog.c b/addressbook/gui/search/e-addressbook-search-dialog.c
index 443c30f6a5..eefd170a73 100644
--- a/addressbook/gui/search/e-addressbook-search-dialog.c
+++ b/addressbook/gui/search/e-addressbook-search-dialog.c
@@ -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);
diff --git a/addressbook/gui/widgets/e-addressbook-util.c b/addressbook/gui/widgets/e-addressbook-util.c
index 1226698486..31f6169112 100644
--- a/addressbook/gui/widgets/e-addressbook-util.c
+++ b/addressbook/gui/widgets/e-addressbook-util.c
@@ -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>