aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-06 18:48:35 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-06 18:48:35 +0800
commit01044271e5c892367d6b51680ca63cec154d42f9 (patch)
treef1d0656578d88c2fd9c5a0f0fa1f2876a56ca784 /addressbook/gui/component/addressbook-component.c
parentc3223fe1a09692bd2f2a4b4d37dafafd97a7bf32 (diff)
downloadgsoc2013-evolution-01044271e5c892367d6b51680ca63cec154d42f9.tar
gsoc2013-evolution-01044271e5c892367d6b51680ca63cec154d42f9.tar.gz
gsoc2013-evolution-01044271e5c892367d6b51680ca63cec154d42f9.tar.bz2
gsoc2013-evolution-01044271e5c892367d6b51680ca63cec154d42f9.tar.lz
gsoc2013-evolution-01044271e5c892367d6b51680ca63cec154d42f9.tar.xz
gsoc2013-evolution-01044271e5c892367d6b51680ca63cec154d42f9.tar.zst
gsoc2013-evolution-01044271e5c892367d6b51680ca63cec154d42f9.zip
fix the gnome-xml headers.
2002-11-06 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-minicard.c: fix the gnome-xml headers. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): convert from gtk signals and args to GSignal and GObject properties. (e_addressbook_view_dispose): rename _destroy to this. (e_addressbook_view_set_property): rework _set_arg to this. (e_addressbook_view_get_property): rework _get_arg to this. (display_view): if we're here we need to choose a view, regardless of whether or not the GAL_IS_VIEW_* macros tell us which type it is. * gui/widgets/e-addressbook-table-adapter.c: fix the gnome-xml headers. * gui/widgets/e-addressbook-model.c (e_addressbook_model_class_init): use INT, not ENUM in the signal here. * gui/component/addressbook-config.c: another big gtk_* -> g_* renaming. * gui/component/addressbook.c: same. * gui/component/e-address-popup.c: same. * gui/component/e-address-widget.c: same. * gui/component/e-cardlist-model.c: fix the gnome-xml headers, and more gtk_* -> g_* renaming. * gui/component/addressbook-component.c (owner_set_cb): use evolution_shell_client_corba_objref as per ettore's change to EvolutionShellClient.. (create_view): fix the call to bonobo_control_set_property. (create_component): gtk_signal_connect -> g_signal_connect. * gui/component/addressbook-storage.c: fix the gnome-xml headers. (addressbook_storage_setup): use evolution_shell_client_corba_objref as per ettore's change to EvolutionShellClient.. (addressbook_get_other_contact_storage): gtk_signal_connect -> g_signal_connect. (load_source_data): root->childs -> root->childrens. svn path=/trunk/; revision=18598
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r--addressbook/gui/component/addressbook-component.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 77b386ce77..63e4172414 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -97,7 +97,7 @@ create_view (EvolutionShellComponent *shell_component,
return EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDTYPE;
control = addressbook_factory_new_control ();
- bonobo_control_set_property (control, NULL, "folder_uri", physical_uri);
+ bonobo_control_set_property (control, NULL, "folder_uri", TC_CORBA_string, physical_uri, NULL);
*control_return = control;
@@ -372,7 +372,7 @@ owner_set_cb (EvolutionShellComponent *shell_component,
if (global_shell_client == NULL)
global_shell_client = shell_client;
- addressbook_config_register_factory (bonobo_object_corba_objref (BONOBO_OBJECT (shell_client)));
+ addressbook_config_register_factory (evolution_shell_client_corba_objref (shell_client));
addressbook_storage_setup (shell_component, evolution_homedir);
}
@@ -572,12 +572,12 @@ create_component (void)
_("Create a new contact list"), 'l',
"contact-list-16.png");
- gtk_signal_connect (GTK_OBJECT (shell_component), "owner_set",
- GTK_SIGNAL_FUNC (owner_set_cb), NULL);
- gtk_signal_connect (GTK_OBJECT (shell_component), "owner_unset",
- GTK_SIGNAL_FUNC (owner_unset_cb), NULL);
- gtk_signal_connect (GTK_OBJECT (shell_component), "user_create_new_item",
- GTK_SIGNAL_FUNC (user_create_new_item_cb), NULL);
+ g_signal_connect (shell_component, "owner_set",
+ G_CALLBACK (owner_set_cb), NULL);
+ g_signal_connect (shell_component, "owner_unset",
+ G_CALLBACK (owner_unset_cb), NULL);
+ g_signal_connect (shell_component, "user_create_new_item",
+ G_CALLBACK (user_create_new_item_cb), NULL);
return BONOBO_OBJECT (shell_component);
}