aboutsummaryrefslogtreecommitdiffstats
path: root/notes/component-factory.c
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2002-12-02 11:21:43 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-12-02 11:21:43 +0800
commit2a7bc6967326be929beb1e0d7a3ba091022d59e9 (patch)
treefa57c3fd1059465946a7b5ed2d19cc3b6738b17c /notes/component-factory.c
parentc88d7c4d1ec2aa50ae91f8b558ccdc6142aa9202 (diff)
downloadgsoc2013-evolution-2a7bc6967326be929beb1e0d7a3ba091022d59e9.tar.gz
gsoc2013-evolution-2a7bc6967326be929beb1e0d7a3ba091022d59e9.tar.zst
gsoc2013-evolution-2a7bc6967326be929beb1e0d7a3ba091022d59e9.zip
ran fix.sh over this.
svn path=/trunk/; revision=18976
Diffstat (limited to 'notes/component-factory.c')
-rw-r--r--notes/component-factory.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/notes/component-factory.c b/notes/component-factory.c
index 54c1f91e94..9b351db7b9 100644
--- a/notes/component-factory.c
+++ b/notes/component-factory.c
@@ -97,7 +97,7 @@ create_view (EvolutionShellComponent *shell_component,
control = notes_factory_new_control ();
#ifdef THIS_CODE_IS_TOTALY_DEAD
- gtk_signal_connect (GTK_OBJECT (control), "activate",
+ g_signal_connect((control), "activate",
control_activate_cb, NULL);
#endif
@@ -128,10 +128,10 @@ notes_component_factory (BonoboGenericFactory *factory,
shell_component = evolution_shell_component_new (folder_types, create_view, NULL);
- 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);
+ 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);
return BONOBO_OBJECT (shell_component);
}
@@ -148,7 +148,7 @@ component_factory_init (void)
factory = bonobo_generic_factory_new (COMPONENT_FACTORY_ID, notes_component_factory, NULL);
if (factory == NULL) {
- e_notice (NULL, GNOME_MESSAGE_BOX_ERROR,
+ e_notice (NULL, GTK_MESSAGE_ERROR,
_("Cannot initialize Evolution's notes component."));
exit (1);
}