aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-offline-handler.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-04 06:08:16 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-04 06:08:16 +0800
commitede7fcb220b739c4d12775904086afe0df595acd (patch)
treecae8198cf8f57d3e08d13c03538e69a411f8a45c /shell/e-shell-offline-handler.c
parent9cbba714fc0eb122c0736b94727b4d2580b9d53c (diff)
downloadgsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.tar
gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.tar.gz
gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.tar.bz2
gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.tar.lz
gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.tar.xz
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-offline-handler.c')
-rw-r--r--shell/e-shell-offline-handler.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c
index 034b722ded..9e30b6d9c9 100644
--- a/shell/e-shell-offline-handler.c
+++ b/shell/e-shell-offline-handler.c
@@ -499,7 +499,7 @@ finalize_offline (EShellOfflineHandler *offline_handler)
priv = offline_handler->priv;
- gtk_object_ref (GTK_OBJECT (offline_handler));
+ g_object_ref (offline_handler);
g_hash_table_foreach (priv->id_to_component_info, finalize_offline_hash_foreach, offline_handler);
@@ -509,7 +509,7 @@ finalize_offline (EShellOfflineHandler *offline_handler)
priv->finished = TRUE;
}
- gtk_object_unref (GTK_OBJECT (offline_handler));
+ g_object_unref (offline_handler);
}
@@ -596,7 +596,7 @@ dialog_handle_cancel (GnomeDialog *dialog,
gtk_widget_destroy (GTK_WIDGET (dialog));
- gtk_object_unref (GTK_OBJECT (priv->dialog_gui));
+ g_object_unref (priv->dialog_gui);
priv->dialog_gui = NULL;
cancel_offline (offline_handler);
@@ -653,8 +653,8 @@ pop_up_confirmation_dialog (EShellOfflineHandler *offline_handler)
update_dialog_clist (offline_handler);
- gtk_signal_connect (GTK_OBJECT (dialog), "clicked",
- GTK_SIGNAL_FUNC (dialog_clicked_cb), offline_handler);
+ g_signal_connect (dialog, "clicked",
+ G_CALLBACK (dialog_clicked_cb), offline_handler);
gtk_widget_show (dialog);
}
@@ -682,7 +682,7 @@ impl_destroy (GtkObject *object)
dialog = glade_xml_get_widget (priv->dialog_gui, "active_connection_dialog");
gtk_widget_destroy (dialog);
- gtk_object_unref (GTK_OBJECT (priv->dialog_gui));
+ g_object_unref (priv->dialog_gui);
priv->dialog_gui = NULL;
}
@@ -817,7 +817,7 @@ e_shell_offline_handler_put_components_offline (EShellOfflineHandler *offline_ha
/* Add an extra ref here as the signal handlers might want to unref
us. */
- gtk_object_ref (GTK_OBJECT (offline_handler));
+ g_object_ref (offline_handler);
gtk_signal_emit (GTK_OBJECT (offline_handler), signals[OFFLINE_PROCEDURE_STARTED]);
@@ -828,7 +828,7 @@ e_shell_offline_handler_put_components_offline (EShellOfflineHandler *offline_ha
g_warning ("Couldn't put components off-line");
gtk_signal_emit (GTK_OBJECT (offline_handler), signals[OFFLINE_PROCEDURE_FINISHED], FALSE);
priv->finished = TRUE;
- gtk_object_unref (GTK_OBJECT (offline_handler));
+ g_object_unref (offline_handler);
return;
}
@@ -840,7 +840,7 @@ e_shell_offline_handler_put_components_offline (EShellOfflineHandler *offline_ha
finalize_offline (offline_handler);
}
- gtk_object_unref (GTK_OBJECT (offline_handler));
+ g_object_unref (offline_handler);
}