diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-04 06:08:16 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-04 06:08:16 +0800 |
commit | ede7fcb220b739c4d12775904086afe0df595acd (patch) | |
tree | cae8198cf8f57d3e08d13c03538e69a411f8a45c /shell/e-shell-config-default-folders.c | |
parent | 9cbba714fc0eb122c0736b94727b4d2580b9d53c (diff) | |
download | gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.tar.gz gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.tar.zst gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.zip |
Changed all gtk_object_refs()/gtk_object_unrefs() into
* *.c, *.h: Changed all gtk_object_refs()/gtk_object_unrefs() into
g_object_refs()/g_object_unrefs() and all gtk_signal_connect_*()
into g_signal_connect_*(). [Except for some case where we have
gtk_signal_connect_full() or gtk_signal_connect_while_alive()
calls that cannot be trivially ported to use the g_signal_*
functions, we'll have to fix those later.]
* e-splash.c (impl_finalize): Finalize implementation, copied over
from impl_destroy.
(impl_destroy): Removed.
(class_init): Override finalize, not destroy.
* e-activity-handler.c: Ported from GtkObject to GObject.
* evolution-storage.c: Likewise.
* e-corba-shortcuts.c: Likewise.
* evolution-session.h: Likewise.
* evolution-config-control.c: Likewise.
* evolution-shell-component-dnd.c: Likewise.
* evolution-shell-component.c: Likewise.
* evolution-shell-view.c: Likewise.
* evolution-storage-set-view.c: Likewise.
* evolution-wizard.c: Likewise.
svn path=/trunk/; revision=18513
Diffstat (limited to 'shell/e-shell-config-default-folders.c')
-rw-r--r-- | shell/e-shell-config-default-folders.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/shell/e-shell-config-default-folders.c b/shell/e-shell-config-default-folders.c index 333ec2c0a8..2f152ec9fb 100644 --- a/shell/e-shell-config-default-folders.c +++ b/shell/e-shell-config-default-folders.c @@ -109,7 +109,7 @@ config_control_destroy_cb (EvolutionConfigControl *config_control, g_free (dfc->tasks_uri); g_free (dfc->tasks_path); - gtk_object_unref (GTK_OBJECT (dfc->glade)); + g_object_unref (dfc->glade); bonobo_object_unref (BONOBO_OBJECT (dfc->shell_client)); g_free (dfc); } @@ -138,9 +138,9 @@ setup_folder_selector (EvolutionDefaultFolderConfig *dfc, *uri_ptr, types); gtk_object_set_data (GTK_OBJECT (button), "uri_ptr", uri_ptr); gtk_object_set_data (GTK_OBJECT (button), "path_ptr", path_ptr); - gtk_signal_connect (GTK_OBJECT (button), "selected", - GTK_SIGNAL_FUNC (folder_selected), - dfc); + g_signal_connect (button, "selected", + G_CALLBACK (folder_selected), + dfc); } GtkWidget* @@ -185,10 +185,10 @@ e_shell_config_default_folders_create_widget (EShell *shell, EvolutionConfigCont gtk_widget_show (widget); dfc->config_control = config_control; - gtk_signal_connect (GTK_OBJECT (dfc->config_control), "apply", - GTK_SIGNAL_FUNC (config_control_apply_cb), dfc); - gtk_signal_connect (GTK_OBJECT (dfc->config_control), "destroy", - GTK_SIGNAL_FUNC (config_control_destroy_cb), dfc); + g_signal_connect (dfc->config_control, "apply", + G_CALLBACK (config_control_apply_cb), dfc); + g_signal_connect (dfc->config_control, "destroy", + G_CALLBACK (config_control_destroy_cb), dfc); return widget; } |