diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-12 05:19:24 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-12 05:19:24 +0800 |
commit | 8f7b3fabe5f53b57f9d6f6df048a9faf23e0837a (patch) | |
tree | 16dd55c482b57696bb59a048ffc78828a623f64e /my-evolution/e-summary-tasks.c | |
parent | ff0a38871430eff88cecc59fc1db8d3d60ca0d6c (diff) | |
download | gsoc2013-evolution-8f7b3fabe5f53b57f9d6f6df048a9faf23e0837a.tar gsoc2013-evolution-8f7b3fabe5f53b57f9d6f6df048a9faf23e0837a.tar.gz gsoc2013-evolution-8f7b3fabe5f53b57f9d6f6df048a9faf23e0837a.tar.bz2 gsoc2013-evolution-8f7b3fabe5f53b57f9d6f6df048a9faf23e0837a.tar.lz gsoc2013-evolution-8f7b3fabe5f53b57f9d6f6df048a9faf23e0837a.tar.xz gsoc2013-evolution-8f7b3fabe5f53b57f9d6f6df048a9faf23e0837a.tar.zst gsoc2013-evolution-8f7b3fabe5f53b57f9d6f6df048a9faf23e0837a.zip |
gtk_widget_destroy() instead of gtk_object_destroy().
* e-summary-factory.c (control_destroy_cb): gtk_widget_destroy()
instead of gtk_object_destroy().
(e_summary_factory_new_control): Likewise.
* e-summary-calendar.c: Use g_object_ref()/g_object_unref()
instead of gtk_object_ref()/gtk_object_unref().
* e-summary-preferences.c: Likewise.
* e-summary-shown.c: Likewise.
* e-summary-table.c: Likewise.
* e-summary-tasks.c: Likewise.
* e-summary.c: Likewise.
* e-summary-preferences.c (e_summary_preferences_make_mail_table):
g_object_set_data() instead of gtk_object_set_data().
(make_property_dialog): g_object_get_data() instead of
gtk_object_get_data().
(get_folders_from_view): Likewise.
* component-factory.c (create_view): Use
evolution_shell_client_corba_objref() instead of
bonobo_object_corba_objref() on the EvolutionShellClient object.
Also, use g_object_get_data() instead of gtk_object_get_data().
(owner_set_cb): Likewise.
(create_component): Use g_object_set_data() instead of
gtk_object_set_data().
svn path=/trunk/; revision=18710
Diffstat (limited to 'my-evolution/e-summary-tasks.c')
-rw-r--r-- | my-evolution/e-summary-tasks.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c index 854043afdb..35235d2fe1 100644 --- a/my-evolution/e-summary-tasks.c +++ b/my-evolution/e-summary-tasks.c @@ -376,11 +376,11 @@ generate_html (gpointer data) text.value); #endif cal_component_free_icaltimetype (completed); - gtk_object_unref (GTK_OBJECT (comp)); + g_object_unref (comp); continue; } - gtk_object_unref (GTK_OBJECT (comp)); + g_object_unref (comp); g_string_append (string, tmp); g_free (tmp); } @@ -501,7 +501,7 @@ setup_task_folder (ESummary *summary) NULL); if (tasks->client != NULL) - gtk_object_unref (GTK_OBJECT (tasks->client)); + g_object_unref (tasks->client); tasks->client = cal_client_new (); if (tasks->client == NULL) { @@ -582,13 +582,13 @@ e_summary_tasks_free (ESummary *summary) if (tasks->cal_open_reload_timeout_id != 0) g_source_remove (tasks->cal_open_reload_timeout_id); - gtk_object_unref (GTK_OBJECT (tasks->client)); + g_object_unref (tasks->client); g_free (tasks->html); g_free (tasks->due_today_colour); g_free (tasks->overdue_colour); g_free (tasks->default_uri); - gtk_object_unref (GTK_OBJECT (tasks->config_listener)); + g_object_unref (tasks->config_listener); g_free (tasks); summary->tasks = NULL; |