aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/delete-error.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /calendar/gui/dialogs/delete-error.c
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-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 'calendar/gui/dialogs/delete-error.c')
-rw-r--r--calendar/gui/dialogs/delete-error.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/calendar/gui/dialogs/delete-error.c b/calendar/gui/dialogs/delete-error.c
index a3bcfb76ee..d8f4df3cfc 100644
--- a/calendar/gui/dialogs/delete-error.c
+++ b/calendar/gui/dialogs/delete-error.c
@@ -33,9 +33,9 @@
/**
* delete_error_dialog:
- *
+ *
* Shows any applicable error messages as the result of deleting and object
- *
+ *
**/
void
delete_error_dialog (GError *error, ECalComponentVType vtype)
@@ -43,10 +43,10 @@ delete_error_dialog (GError *error, ECalComponentVType vtype)
GList *icon_list = NULL;
GtkWidget *dialog;
const char *str;
-
+
if (!error)
return;
-
+
switch (error->code) {
case E_CALENDAR_STATUS_CORBA_EXCEPTION:
switch (vtype) {
@@ -98,11 +98,11 @@ delete_error_dialog (GError *error, ECalComponentVType vtype)
break;
case E_CALENDAR_STATUS_OK:
case E_CALENDAR_STATUS_OBJECT_NOT_FOUND:
- default:
+ default:
/* If not found, we don't care - its gone anyhow */
return;
}
-
+
dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK, str);
@@ -110,13 +110,13 @@ delete_error_dialog (GError *error, ECalComponentVType vtype)
icon_list = e_icon_factory_get_icon_list ("stock_calendar");
else if (vtype == E_CAL_COMPONENT_TODO)
icon_list = e_icon_factory_get_icon_list ("stock_todo");
-
+
if (icon_list) {
gtk_window_set_icon_list (GTK_WINDOW (dialog), icon_list);
g_list_foreach (icon_list, (GFunc) g_object_unref, NULL);
g_list_free (icon_list);
}
-
+
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}