aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-09 05:05:41 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-09 05:05:41 +0800
commite93ca197f1fd37e2a35020f8717fe3c9547cfb2f (patch)
treee7e28bbe04591105fec9ccdbc0b11f3d615ab96f /calendar/gui/calendar-component.c
parentba1c0d0543d02df34348f27683ebd30a27d68502 (diff)
downloadgsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.tar.gz
gsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.tar.zst
gsoc2013-evolution-e93ca197f1fd37e2a35020f8717fe3c9547cfb2f.zip
Use g_signal_connect() instead of gtk_signal_connect(). Likewise.
* gui/calendar-commands.c: Use g_signal_connect() instead of gtk_signal_connect(). * calendar-commands.c: Likewise. * calendar-config.c: Likewise. * calendar-model.c: Likewise. * comp-editor-factory.c: Likewise. * component-factory.c: Likewise. * control-factory.c: Likewise. * e-calendar-table.c: Likewise. * e-comp-editor-registry.c: Likewise. * e-day-view-time-item.c: Likewise. * e-day-view.c: Likewise. * e-itip-control.c: Likewise. * e-meeting-model.c: Likewise. * e-meeting-time-sel.c: Likewise. * e-tasks.c: Likewise. * e-timezone-entry.c: Likewise. * e-week-view.c: Likewise. * gnome-cal.c: Likewise. * goto.c: Likewise. * tasks-control.c: Likewise. * tasks-migrate.c: Likewise. * weekday-picker.c: Likewise. svn path=/trunk/; revision=18672
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 71656bab2f..27fdbc7ee1 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -528,7 +528,7 @@ owner_set_cb (EvolutionShellComponent *shell_component,
static void
owner_unset_cb (EvolutionShellComponent *shell_component,
- gpointer user_data)
+ gpointer user_data)
{
shells = g_list_remove (shells, shell_component);
@@ -740,10 +740,8 @@ create_object (void)
bonobo_object_add_interface (BONOBO_OBJECT (shell_component),
BONOBO_OBJECT (offline_handler));
- 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);
/* User creatable items */
@@ -767,8 +765,8 @@ create_object (void)
_("Create a new all-day appointment"),
FOLDER_CALENDAR, 'd', "new_all_day_event.png");
- gtk_signal_connect (GTK_OBJECT (shell_component), "user_create_new_item",
- GTK_SIGNAL_FUNC (sc_user_create_new_item_cb), NULL);
+ g_signal_connect (shell_component, "user_create_new_item",
+ G_CALLBACK (sc_user_create_new_item_cb), NULL);
return BONOBO_OBJECT (shell_component);
}