diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-16 03:29:03 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-16 03:29:03 +0800 |
commit | 27d6e723fd94ee4ed9d3f9ca8e6095a95a170eda (patch) | |
tree | 819b860220e3a80a5b7a30fe0ef7ac75d2b5c78b /shell/e-activity-handler.c | |
parent | a79f61ba4c36ffdb285ec1d812c83871d22e769e (diff) | |
download | gsoc2013-evolution-27d6e723fd94ee4ed9d3f9ca8e6095a95a170eda.tar.gz gsoc2013-evolution-27d6e723fd94ee4ed9d3f9ca8e6095a95a170eda.tar.zst gsoc2013-evolution-27d6e723fd94ee4ed9d3f9ca8e6095a95a170eda.zip |
No need to check for priv being NULL here anymore.
* e-activity-handler.c (impl_operationStarted): No need to check
for priv being NULL here anymore.
(impl_operationProgressing): Likewise.
(impl_operationFinished): Likewise.
(impl_requestDialog): Likewise.
* evolution-folder-selector-button.c (clicked): Use
g_object_add_weak_pointer() on the parent_window instead of using
GTK_OBJECT_DESTROYED().
svn path=/trunk/; revision=18782
Diffstat (limited to 'shell/e-activity-handler.c')
-rw-r--r-- | shell/e-activity-handler.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/shell/e-activity-handler.c b/shell/e-activity-handler.c index b85f9cb06b..c61256505f 100644 --- a/shell/e-activity-handler.c +++ b/shell/e-activity-handler.c @@ -388,10 +388,6 @@ impl_operationStarted (PortableServer_Servant servant, activity_handler = E_ACTIVITY_HANDLER (bonobo_object_from_servant (servant)); - /* FIXME */ - if (/* GTK_OBJECT_DESTROYED (activity_handler) || */ activity_handler->priv == NULL) - return; - priv = activity_handler->priv; if (icon->_length == 0) { @@ -439,10 +435,6 @@ impl_operationProgressing (PortableServer_Servant servant, activity_handler = E_ACTIVITY_HANDLER (bonobo_object_from_servant (servant)); - /* FIXME */ - if (/* GTK_OBJECT_DESTROYED (activity_handler) || */ activity_handler->priv == NULL) - return; - priv = activity_handler->priv; p = lookup_activity (priv->activity_infos, activity_id, &order_number); @@ -483,10 +475,6 @@ impl_operationFinished (PortableServer_Servant servant, activity_handler = E_ACTIVITY_HANDLER (bonobo_object_from_servant (servant)); - /* FIXME */ - if (/* GTK_OBJECT_DESTROYED (activity_handler) || */ activity_handler->priv == NULL) - return; - priv = activity_handler->priv; p = lookup_activity (priv->activity_infos, activity_id, &order_number); @@ -512,10 +500,6 @@ impl_requestDialog (PortableServer_Servant servant, activity_handler = E_ACTIVITY_HANDLER (bonobo_object_from_servant (servant)); - /* FIXME */ - if (/* GTK_OBJECT_DESTROYED (activity_handler) || */ activity_handler->priv == NULL) - return GNOME_Evolution_Activity_DIALOG_ACTION_ERROR; - /* FIXME implement. */ g_warning ("Evolution::Activity::requestDialog not implemented"); |