diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-08-09 20:59:10 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-08-09 20:59:10 +0800 |
commit | 8c383be599a8d596ad784dbebde5f8494b1240d7 (patch) | |
tree | a03e35fcaf31b8289a85e3054a47e3245ed68112 | |
parent | ac41ac7e9ef884bdfebd8cf9f9c61208aadb52c9 (diff) | |
download | gsoc2013-evolution-8c383be599a8d596ad784dbebde5f8494b1240d7.tar.gz gsoc2013-evolution-8c383be599a8d596ad784dbebde5f8494b1240d7.tar.zst gsoc2013-evolution-8c383be599a8d596ad784dbebde5f8494b1240d7.zip |
Whitespace and coding style cleanup.
-rw-r--r-- | calendar/gui/dialogs/comp-editor.h | 2 | ||||
-rw-r--r-- | plugins/mail-to-task/mail-to-task.c | 6 | ||||
-rw-r--r-- | shell/e-shell-importer.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h index 258d11b257..d95d496ffd 100644 --- a/calendar/gui/dialogs/comp-editor.h +++ b/calendar/gui/dialogs/comp-editor.h @@ -151,7 +151,7 @@ GtkActionGroup * GtkWidget * comp_editor_get_managed_widget (CompEditor *editor, const gchar *widget_path); -void comp_editor_set_lite (gboolean status); +void comp_editor_set_lite (gboolean status); gboolean comp_editor_get_lite (void); G_END_DECLS diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c index b9c3ce3795..94b629eae2 100644 --- a/plugins/mail-to-task/mail-to-task.c +++ b/plugins/mail-to-task/mail-to-task.c @@ -346,7 +346,7 @@ do_ask (const gchar *text, gboolean is_create_edit_add) { gint res; GtkWidget *dialog = gtk_message_dialog_new (NULL, - GTK_DIALOG_MODAL, + GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, is_create_edit_add ? GTK_BUTTONS_NONE : GTK_BUTTONS_YES_NO, "%s", text); @@ -491,7 +491,7 @@ do_manage_comp_idle (GSList *manage_comp_datas) const gchar *ask = get_question_edit_old (source_type); if (ask) { - char *msg = g_strdup_printf (ask, icalcomponent_get_summary (mc->stored_comp) ? icalcomponent_get_summary (mc->stored_comp) : _("[No Summary]")); + gchar *msg = g_strdup_printf (ask, icalcomponent_get_summary (mc->stored_comp) ? icalcomponent_get_summary (mc->stored_comp) : _("[No Summary]")); gint chosen; chosen = do_ask (msg, TRUE); @@ -534,7 +534,7 @@ do_manage_comp_idle (GSList *manage_comp_datas) const gchar *ask = NULL; can = FALSE; - + if (with_old == g_slist_length (manage_comp_datas)) { ask = get_question_create_new_n (source_type, with_old); } else { diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c index b24eca1027..c9953b9589 100644 --- a/shell/e-shell-importer.c +++ b/shell/e-shell-importer.c @@ -441,7 +441,7 @@ import_druid_cancel (GnomeDruid *druid, { if (data->import_dialog) gtk_dialog_response (GTK_DIALOG (data->import_dialog), GTK_RESPONSE_CANCEL); - else + else gtk_widget_destroy (GTK_WIDGET (data->dialog)); } |