aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-06-25 15:01:06 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-06-25 15:01:06 +0800
commit6e07a7685ae9d7951a1a519607e40ce7f8580802 (patch)
tree55cc64b335bc6429ef6b72f5d485240f47193f0a /shell
parentb4457f6518999f322f7825bb1ffcb510a42fcf6d (diff)
downloadgsoc2013-evolution-6e07a7685ae9d7951a1a519607e40ce7f8580802.tar.gz
gsoc2013-evolution-6e07a7685ae9d7951a1a519607e40ce7f8580802.tar.zst
gsoc2013-evolution-6e07a7685ae9d7951a1a519607e40ce7f8580802.zip
Remove some spurious "\n"s from g_warnings.
svn path=/trunk/; revision=10472
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog11
-rw-r--r--shell/e-shortcuts-view-model.c3
-rw-r--r--shell/e-storage-set-view.c8
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,5 +1,16 @@
2001-06-25 Ettore Perazzoli <ettore@ximian.com>
+ * 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 <ettore@ximian.com>
+
* main.c (no_views_left_cb): Unref the shell here.
* e-storage-set.c (destroy): Use
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;