diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-11-15 06:04:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-11-15 06:04:21 +0800 |
commit | 9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch) | |
tree | 2e1e96f33404781354c422a7e9beaf458ebeb655 /calendar/gui/e-comp-editor-registry.c | |
parent | 7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff) | |
download | gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.bz2 gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.lz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.xz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip |
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
Diffstat (limited to 'calendar/gui/e-comp-editor-registry.c')
-rw-r--r-- | calendar/gui/e-comp-editor-registry.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/calendar/gui/e-comp-editor-registry.c b/calendar/gui/e-comp-editor-registry.c index 19438d0301..609f254243 100644 --- a/calendar/gui/e-comp-editor-registry.c +++ b/calendar/gui/e-comp-editor-registry.c @@ -64,7 +64,7 @@ e_comp_editor_registry_dispose (GObject *obj) reg = E_COMP_EDITOR_REGISTRY (obj); priv = reg->priv; - + if (priv->editors) { g_hash_table_destroy (priv->editors); priv->editors = NULL; @@ -122,14 +122,14 @@ e_comp_editor_registry_add (ECompEditorRegistry *reg, CompEditor *editor, gboole ECompEditorRegistryData *rdata; ECalComponent *comp; const char *uid; - + g_return_if_fail (reg != NULL); g_return_if_fail (E_IS_COMP_EDITOR_REGISTRY (reg)); g_return_if_fail (editor != NULL); g_return_if_fail (IS_COMP_EDITOR (editor)); priv = reg->priv; - + comp = comp_editor_get_comp (editor); e_cal_component_get_uid (comp, &uid); @@ -150,7 +150,7 @@ e_comp_editor_registry_find (ECompEditorRegistry *reg, const char *uid) { ECompEditorRegistryPrivate *priv; ECompEditorRegistryData *rdata; - + g_return_val_if_fail (reg != NULL, NULL); g_return_val_if_fail (E_IS_COMP_EDITOR_REGISTRY (reg), NULL); g_return_val_if_fail (uid != NULL, NULL); @@ -160,7 +160,7 @@ e_comp_editor_registry_find (ECompEditorRegistry *reg, const char *uid) rdata = g_hash_table_lookup (priv->editors, uid); if (rdata != NULL) return rdata->editor; - + return NULL; } @@ -172,16 +172,16 @@ foreach_close_cb (gpointer key, gpointer value, gpointer data) rdata = value; g_signal_handlers_block_matched (rdata->editor, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, data); - + comp_editor_focus (rdata->editor); if (!comp_editor_close (rdata->editor)) { g_signal_handlers_unblock_matched (rdata->editor, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, data); return FALSE; } - + g_free (rdata->uid); g_free (rdata); - + return TRUE; } @@ -189,7 +189,7 @@ gboolean e_comp_editor_registry_close_all (ECompEditorRegistry *reg) { ECompEditorRegistryPrivate *priv; - + g_return_val_if_fail (reg != NULL, FALSE); g_return_val_if_fail (E_IS_COMP_EDITOR_REGISTRY (reg), FALSE); @@ -198,12 +198,12 @@ e_comp_editor_registry_close_all (ECompEditorRegistry *reg) g_hash_table_foreach_remove (priv->editors, foreach_close_cb, reg); if (g_hash_table_size (priv->editors) != 0) return FALSE; - + return TRUE; } static void -editor_destroy_cb (gpointer data, GObject *where_object_was) +editor_destroy_cb (gpointer data, GObject *where_object_was) { ECompEditorRegistryData *rdata = data; |