diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-09 05:05:41 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-09 05:05:41 +0800 |
commit | e93ca197f1fd37e2a35020f8717fe3c9547cfb2f (patch) | |
tree | e7e28bbe04591105fec9ccdbc0b11f3d615ab96f /calendar/gui/e-itip-control.c | |
parent | ba1c0d0543d02df34348f27683ebd30a27d68502 (diff) | |
download | gsoc2013-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/e-itip-control.c')
-rw-r--r-- | calendar/gui/e-itip-control.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c index 43a3b01e4f..455d9212f6 100644 --- a/calendar/gui/e-itip-control.c +++ b/calendar/gui/e-itip-control.c @@ -168,8 +168,7 @@ start_calendar_server (char *uri) client = cal_client_new (); - gtk_signal_connect (GTK_OBJECT (client), "cal_opened", - start_calendar_server_cb, &success); + g_signal_connect (client, "cal_opened", G_CALLBACK (start_calendar_server_cb), &success); cal_client_open_calendar (client, uri, TRUE); @@ -193,8 +192,7 @@ start_default_server (gboolean tasks) client = cal_client_new (); - gtk_signal_connect (GTK_OBJECT (client), "cal_opened", - start_calendar_server_cb, &success); + g_signal_connect (client, "cal_opened", start_calendar_server_cb, &success); if (tasks) { if (!cal_client_open_default_tasks (client, FALSE)) @@ -341,14 +339,9 @@ init (EItipControl *itip) gtk_widget_set_usize (scrolled_window, 600, 400); gtk_box_pack_start (GTK_BOX (itip), scrolled_window, FALSE, FALSE, 4); - gtk_signal_connect (GTK_OBJECT (priv->html), "url_requested", - url_requested_cb, itip); - gtk_signal_connect (GTK_OBJECT (priv->html), "object_requested", - GTK_SIGNAL_FUNC (object_requested_cb), - itip); - gtk_signal_connect (GTK_OBJECT (priv->html), "submit", - ok_clicked_cb, itip); - + g_signal_connect (priv->html, "url_requested", G_CALLBACK (url_requested_cb), itip); + g_signal_connect (priv->html, "object_requested", G_CALLBACK (object_requested_cb), itip); + g_signal_connect (priv->html, "submit", G_CALLBACK (ok_clicked_cb), itip); } static void @@ -1973,8 +1966,7 @@ object_requested_cb (GtkHTML *html, GtkHTMLEmbedded *eb, gpointer data) button = NULL; } - gtk_signal_connect (GTK_OBJECT (button), "selected", - button_selected_cb, itip); + g_signal_connect (button, "selected", G_CALLBACK (button_selected_cb), itip); gtk_container_add (GTK_CONTAINER (eb), button); gtk_widget_show (button); |