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 /shell/e-shell-settings-dialog.c | |
parent | 7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff) | |
download | gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz 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 'shell/e-shell-settings-dialog.c')
-rw-r--r-- | shell/e-shell-settings-dialog.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/shell/e-shell-settings-dialog.c b/shell/e-shell-settings-dialog.c index ec6495dde8..a6de85d45c 100644 --- a/shell/e-shell-settings-dialog.c +++ b/shell/e-shell-settings-dialog.c @@ -158,7 +158,7 @@ load_pages (EShellSettingsDialog *dialog) int i, j; priv = dialog->priv; - + CORBA_exception_init (&ev); control_list = bonobo_activation_query ("repo_ids.has('IDL:GNOME/Evolution/ConfigControl:" BASE_VERSION "')", NULL, &ev); @@ -249,15 +249,15 @@ load_pages (EShellSettingsDialog *dialog) if (page->type != NULL) { Bonobo_StringList list = page->type->v._u.value_stringv; - + for (j = 0; j < list._length; j++) { if (g_hash_table_lookup (priv->types, list._buffer[j]) == NULL) - g_hash_table_insert (priv->types, g_strdup (list._buffer[j]), + g_hash_table_insert (priv->types, g_strdup (list._buffer[j]), GINT_TO_POINTER (i)); } } - - + + page_free (page); } @@ -276,11 +276,11 @@ impl_finalize (GObject *object) dialog = E_SHELL_SETTINGS_DIALOG (object); priv = dialog->priv; - + g_hash_table_destroy (priv->types); g_free (priv); - + (* G_OBJECT_CLASS (e_shell_settings_dialog_parent_class)->finalize) (object); } @@ -309,7 +309,7 @@ e_shell_settings_dialog_init (EShellSettingsDialog *dialog) load_pages (dialog); set_dialog_size (dialog); - + gtk_window_set_title (GTK_WINDOW (dialog), _("Evolution Preferences")); gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); } @@ -331,13 +331,13 @@ e_shell_settings_dialog_show_type (EShellSettingsDialog *dialog, const char *typ EShellSettingsDialogPrivate *priv; gpointer key, value; int page; - + g_return_if_fail (dialog != NULL); g_return_if_fail (E_IS_SHELL_SETTINGS_DIALOG (dialog)); g_return_if_fail (type != NULL); priv = dialog->priv; - + if (!g_hash_table_lookup_extended (priv->types, type, &key, &value)) { char *slash, *supertype; @@ -350,7 +350,7 @@ e_shell_settings_dialog_show_type (EShellSettingsDialog *dialog, const char *typ value = NULL; } page = GPOINTER_TO_INT (value); - + e_multi_config_dialog_show_page (E_MULTI_CONFIG_DIALOG (dialog), page); } |