diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-03-27 02:27:21 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-03-27 02:27:21 +0800 |
commit | 3a8fed7be6e8523d13cdfd8c256c74ee0ab9b096 (patch) | |
tree | b0ed1bf32924d54326148c87be7b558a3d773d2d /calendar/importers | |
parent | 12fe411b4715e11d84f36ddc45c1a9360768eb59 (diff) | |
download | gsoc2013-evolution-3a8fed7be6e8523d13cdfd8c256c74ee0ab9b096.tar.gz gsoc2013-evolution-3a8fed7be6e8523d13cdfd8c256c74ee0ab9b096.tar.zst gsoc2013-evolution-3a8fed7be6e8523d13cdfd8c256c74ee0ab9b096.zip |
use g_object_unref for CalClient's. (create_checkboxes_control): use
2003-03-26 Rodrigo Moya <rodrigo@ximian.com>
* importers/icalendar-importer.c (gnome_calendar_import_data_fn): use
g_object_unref for CalClient's.
(create_checkboxes_control): use g_signal_connect.
svn path=/trunk/; revision=20519
Diffstat (limited to 'calendar/importers')
-rw-r--r-- | calendar/importers/icalendar-importer.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/calendar/importers/icalendar-importer.c b/calendar/importers/icalendar-importer.c index 7707acad1e..9f336a4d05 100644 --- a/calendar/importers/icalendar-importer.c +++ b/calendar/importers/icalendar-importer.c @@ -563,9 +563,9 @@ gnome_calendar_import_data_fn (EvolutionIntelligentImporter *ii, if (icalcomp) icalcomponent_free (icalcomp); if (calendar_client) - gtk_object_unref (GTK_OBJECT (calendar_client)); + g_object_unref (calendar_client); if (tasks_client) - gtk_object_unref (GTK_OBJECT (tasks_client)); + g_object_unref (tasks_client); } @@ -586,16 +586,16 @@ create_checkboxes_control (ICalIntelligentImporter *ici) hbox = gtk_hbox_new (FALSE, 2); calendar_checkbox = gtk_check_button_new_with_label (_("Calendar Events")); - gtk_signal_connect (GTK_OBJECT (calendar_checkbox), "toggled", - GTK_SIGNAL_FUNC (checkbox_toggle_cb), - &ici->do_calendar); + g_signal_connect (G_OBJECT (calendar_checkbox), "toggled", + G_CALLBACK (checkbox_toggle_cb), + &ici->do_calendar); gtk_box_pack_start (GTK_BOX (hbox), calendar_checkbox, FALSE, FALSE, 0); tasks_checkbox = gtk_check_button_new_with_label (_("Tasks")); - gtk_signal_connect (GTK_OBJECT (tasks_checkbox), "toggled", - GTK_SIGNAL_FUNC (checkbox_toggle_cb), - &ici->do_tasks); + g_signal_connect (G_OBJECT (tasks_checkbox), "toggled", + G_CALLBACK (checkbox_toggle_cb), + &ici->do_tasks); gtk_box_pack_start (GTK_BOX (hbox), tasks_checkbox, FALSE, FALSE, 0); |