diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2006-10-01 19:55:39 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-10-01 19:55:39 +0800 |
commit | e86a94310a715ec7c300145cbd58ef9ac93389b0 (patch) | |
tree | aa3e481c6fc422dcc7200ad1ff0eab1e59ffedd4 /addressbook/gui/widgets/e-addressbook-view.c | |
parent | 8f0374166d477e9ee2d64ee7bfe75b537fb5382a (diff) | |
download | gsoc2013-evolution-e86a94310a715ec7c300145cbd58ef9ac93389b0.tar gsoc2013-evolution-e86a94310a715ec7c300145cbd58ef9ac93389b0.tar.gz gsoc2013-evolution-e86a94310a715ec7c300145cbd58ef9ac93389b0.tar.bz2 gsoc2013-evolution-e86a94310a715ec7c300145cbd58ef9ac93389b0.tar.lz gsoc2013-evolution-e86a94310a715ec7c300145cbd58ef9ac93389b0.tar.xz gsoc2013-evolution-e86a94310a715ec7c300145cbd58ef9ac93389b0.tar.zst gsoc2013-evolution-e86a94310a715ec7c300145cbd58ef9ac93389b0.zip |
Remove duplicate include. Fix some compiler warnings. Cast away a compiler
2006-10-01 Kjartan Maraas <kmaraas@gnome.org>
* gui/component/addressbook-component.c: Remove duplicate include.
* gui/contact-editor/e-contact-editor.c: (extract_simple_field):
Fix some compiler warnings.
* gui/contact-editor/e-contact-quick-add.c:
(build_quick_add_dialog): Cast away a compiler warning.
* gui/widgets/e-addressbook-view.c: (generate_viewoption_menu):
#if 0 out an unused array, fix 0 vs NULL initialization in some
other arrays and remove an unused GSList.
* gui/widgets/e-minicard.c: (add_email_field): Make a var const.
* gui/widgets/eab-gui-util.c: (eab_contact_save),
(eab_contact_list_save): Add some casts to fix compiler warnings
and #if 0 out an unused function.
* util/eab-book-util.c: (escape), (eab_contact_list_from_string):
Some GString fixes. All of this from bug #332101.
svn path=/trunk/; revision=32841
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-view.c')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 553085e2e8..4c36b1897d 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -171,19 +171,21 @@ enum { ESB_ANY, }; +#if 0 static ESearchBarItem addressbook_search_option_items[] = { { N_("Name begins with"), ESB_FULL_NAME, ESB_ITEMTYPE_RADIO }, { N_("Email begins with"), ESB_EMAIL, ESB_ITEMTYPE_RADIO }, { N_("Any field contains"), ESB_ANY, ESB_ITEMTYPE_RADIO }, - { NULL, -1, NULL } + { NULL, -1, 0 } }; +#endif static ESearchBarItem addressbook_search_items[] = { E_FILTERBAR_ADVANCED, - {NULL, 0, NULL}, + {NULL, 0, 0}, E_FILTERBAR_SAVE, E_FILTERBAR_EDIT, - {NULL, -1, NULL} + {NULL, -1, 0} }; GType @@ -1623,7 +1625,6 @@ generate_viewoption_menu (EABSearchBarItem *subitems) { GtkWidget *menu, *menu_item; gint i = 0; - GSList *l; menu = gtk_menu_new (); |