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-factory.c | |
parent | ff0a38871430eff88cecc59fc1db8d3d60ca0d6c (diff) | |
download | gsoc2013-evolution-8f7b3fabe5f53b57f9d6f6df048a9faf23e0837a.tar.gz 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-factory.c')
-rw-r--r-- | my-evolution/e-summary-factory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/my-evolution/e-summary-factory.c b/my-evolution/e-summary-factory.c index a7a0018833..9d9fe3c78f 100644 --- a/my-evolution/e-summary-factory.c +++ b/my-evolution/e-summary-factory.c @@ -116,7 +116,7 @@ static void control_destroy_cb (BonoboControl *control, ESummary *summary) { - gtk_object_destroy (GTK_OBJECT (summary)); + gtk_widget_destroy (GTK_WIDGET (summary)); } BonoboControl * @@ -139,7 +139,7 @@ e_summary_factory_new_control (const char *uri, control = bonobo_control_new (summary); if (control == NULL) { - gtk_object_destroy (GTK_OBJECT (summary)); + gtk_widget_destroy (summary); return NULL; } |