diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2004-02-27 05:01:41 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2004-02-27 05:01:41 +0800 |
commit | 9a4ee04a76f07a0183582b377260b9c37551a0ff (patch) | |
tree | f26e533f3dabb5bf28d76e7b23954a6538aa9276 /addressbook/gui/component | |
parent | bac1a59d59bb0326bb8b634bbf6ec973b20efd16 (diff) | |
download | gsoc2013-evolution-9a4ee04a76f07a0183582b377260b9c37551a0ff.tar.gz gsoc2013-evolution-9a4ee04a76f07a0183582b377260b9c37551a0ff.tar.zst gsoc2013-evolution-9a4ee04a76f07a0183582b377260b9c37551a0ff.zip |
Move unused variable declaration inside notyet conditional.
2004-02-26 Hans Petter Jansson <hpj@ximian.com>
* util/eab-destination.c (name_and_email_cb): Move unused variable
declaration inside notyet conditional.
* printing/e-contact-print.c: Include gal/util/e-util.h
* gui/merging/eab-contact-compare.c (eab_contact_locate_match): Cast
callback to an EBookCallback.
(eab_contact_locate_match_full): Ditto.
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
Remove unused variable and cast 3rd arg to e_contact_set () (perhaps
this should take a gconstpointer?).
* gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu):
Remove unused variable.
* gui/component/select-names/e-select-names.c (e_select_names_init):
Cast the vbox to a GtkBox.
* gui/component/addressbook-config.c (dialog_to_source): Correctly cast
the spin button to a GtkSpinButton, not a GtkEntry.
* gui/component/addressbook-component.c (load_primary_selection):
Remove unused variable.
svn path=/trunk/; revision=24898
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r-- | addressbook/gui/component/addressbook-component.c | 1 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-config.c | 2 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index aa2300b957..f669824940 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -146,7 +146,6 @@ load_primary_selection (AddressbookComponent *addressbook_component) { AddressbookComponentPrivate *priv; ESource *source; - char *uid; priv = addressbook_component->priv; diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index eaf0093c77..9d4123034e 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -240,7 +240,7 @@ dialog_to_source (AddressbookSourceDialog *dialog, ESource *source, gboolean tem #ifdef HAVE_LDAP e_source_set_property (source, "email_addr", gtk_entry_get_text (GTK_ENTRY (dialog->email))); e_source_set_property (source, "binddn", gtk_entry_get_text (GTK_ENTRY (dialog->binddn))); - str = g_strdup_printf ("%d", gtk_spin_button_get_value_as_int (GTK_ENTRY (dialog->limit_spinbutton))); + str = g_strdup_printf ("%d", gtk_spin_button_get_value_as_int (GTK_SPIN_BUTTON (dialog->limit_spinbutton))); e_source_set_property (source, "limit", str); g_free (str); e_source_set_property (source, "ssl", ldap_unparse_ssl (dialog->ssl)); diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index a732e643ec..cd8a2141f3 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -481,7 +481,7 @@ e_select_names_init (ESelectNames *e_select_names) } gtk_widget_ref (widget); gtk_container_remove (GTK_CONTAINER (widget->parent), widget); - gtk_box_pack_start (GTK_DIALOG (e_select_names)->vbox, widget, TRUE, TRUE, 0); + gtk_box_pack_start (GTK_BOX (GTK_DIALOG (e_select_names)->vbox), widget, TRUE, TRUE, 0); gtk_widget_unref (widget); gtk_dialog_add_buttons (GTK_DIALOG (e_select_names), |