From 6e07a7685ae9d7951a1a519607e40ce7f8580802 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 25 Jun 2001 07:01:06 +0000 Subject: Remove some spurious "\n"s from g_warnings. svn path=/trunk/; revision=10472 --- shell/ChangeLog | 11 +++++++++++ shell/e-shortcuts-view-model.c | 3 +-- shell/e-storage-set-view.c | 8 ++++---- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 7596f16218..0b08a5ae43 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,14 @@ +2001-06-25 Ettore Perazzoli + + * e-storage-set-view.c (convert_gdk_drag_action_to_corba): Remove + trailing "\n" from g_warning. + (convert_corba_drag_action_to_gdk): Likewise. + (tree_drag_data_received): Likewise. + (new_folder_cb): Likewise. + + * e-shortcuts-view-model.c (load_group_into_model): Remove + trailing "\n" from g_warning. + 2001-06-25 Ettore Perazzoli * main.c (no_views_left_cb): Unref the shell here. diff --git a/shell/e-shortcuts-view-model.c b/shell/e-shortcuts-view-model.c index c4ee9efac3..9f11cb0aad 100644 --- a/shell/e-shortcuts-view-model.c +++ b/shell/e-shortcuts-view-model.c @@ -98,8 +98,7 @@ load_group_into_model (EShortcutsViewModel *shortcuts_view_model, if (path == NULL || folder == NULL) { /* FIXME */ - g_warning ("Invalid link while loading shortcut bar view -- %s\n", - uri); + g_warning ("Invalid link while loading shortcut bar view -- %s", uri); continue; } diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 63aa9cfbf1..a9106ecfa0 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -374,7 +374,7 @@ convert_gdk_drag_action_to_corba (GdkDragAction action) else if (action == GDK_ACTION_ASK) return GNOME_Evolution_ShellComponentDnd_ACTION_ASK; else { - g_warning ("unknown GdkDragAction %d\n", action); + g_warning ("Unknown GdkDragAction %d", action); return GNOME_Evolution_ShellComponentDnd_ACTION_DEFAULT; } } @@ -391,7 +391,7 @@ convert_corba_drag_action_to_gdk (GNOME_Evolution_ShellComponentDnd_ActionSet ac else if (action == GNOME_Evolution_ShellComponentDnd_ACTION_ASK) return GDK_ACTION_ASK; else { - g_warning ("unknown GNOME_Evolution_ShellComponentDnd_ActionSet %d\n", action); + g_warning ("unknown GNOME_Evolution_ShellComponentDnd_ActionSet %d", action); return GDK_ACTION_DEFAULT; } } @@ -1228,7 +1228,7 @@ tree_drag_data_received (ETree *etree, folder_xfer_callback, NULL); break; default: - g_warning ("EStorageSetView: Don't know action %d\n", context->action); + g_warning ("EStorageSetView: Unknown action %d", context->action); } g_free (destination_path); @@ -1576,7 +1576,7 @@ new_folder_cb (EStorageSet *storage_set, parent_path = g_strndup (path, last_separator - path); parent_node = g_hash_table_lookup (priv->path_to_etree_node, parent_path); if (parent_node == NULL) { - g_warning ("EStorageSetView: EStorageSet reported new subfolder for non-existing folder -- %s\n", + g_warning ("EStorageSetView: EStorageSet reported new subfolder for non-existing folder -- %s", parent_path); g_free (parent_path); return; -- cgit v1.2.3