From ede7fcb220b739c4d12775904086afe0df595acd Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 3 Nov 2002 22:08:16 +0000 Subject: 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 --- shell/e-shell-folder-commands.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'shell/e-shell-folder-commands.c') diff --git a/shell/e-shell-folder-commands.c b/shell/e-shell-folder-commands.c index 8fa237ae0b..fd6cf2b522 100644 --- a/shell/e-shell-folder-commands.c +++ b/shell/e-shell-folder-commands.c @@ -234,13 +234,13 @@ connect_folder_selection_dialog_signals (EShellFolderSelectionDialog *folder_sel { g_assert (folder_command_data != NULL); - gtk_signal_connect (GTK_OBJECT (folder_selection_dialog), "folder_selected", - GTK_SIGNAL_FUNC (folder_selection_dialog_folder_selected_callback), - folder_command_data); + g_signal_connect (folder_selection_dialog, "folder_selected", + G_CALLBACK (folder_selection_dialog_folder_selected_callback), + folder_command_data); - gtk_signal_connect (GTK_OBJECT (folder_selection_dialog), "cancelled", - GTK_SIGNAL_FUNC (folder_selection_dialog_cancelled_callback), - folder_command_data); + g_signal_connect (folder_selection_dialog, "cancelled", + G_CALLBACK (folder_selection_dialog_cancelled_callback), + folder_command_data); } @@ -460,7 +460,7 @@ rename_callback_data_new (EShellView *shell_view, callback_data = g_new (RenameCallbackData, 1); - gtk_object_ref (GTK_OBJECT (shell_view)); + g_object_ref (shell_view); callback_data->shell_view = shell_view; callback_data->new_path = g_strdup (new_path); @@ -471,7 +471,7 @@ rename_callback_data_new (EShellView *shell_view, static void rename_callback_data_free (RenameCallbackData *callback_data) { - gtk_object_unref (GTK_OBJECT (callback_data->shell_view)); + g_object_unref (callback_data->shell_view); g_free (callback_data->new_path); g_free (callback_data); -- cgit