summaryrefslogtreecommitdiff
path: root/src/tree.c
diff options
context:
space:
mode:
authorMike Newman <MikeGTN@src.gnome.org>2003-06-10 21:30:22 +0000
committerMike Newman <MikeGTN@src.gnome.org>2003-06-10 21:30:22 +0000
commitcfe29d9ad04761e7a97964af5e8f20fca7d22cfc (patch)
tree49791765012f5b821c208663320db9a354aaae6f /src/tree.c
parent98772744e904127cda466f1b5be3969ae5fbdcc2 (diff)
Allow /t and /n in dialog text. Some code cleanup.
Diffstat (limited to 'src/tree.c')
-rw-r--r--src/tree.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/tree.c b/src/tree.c
index 903ef70..80562d8 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -478,12 +478,6 @@ zenity_tree_dialog_output (void)
for (tmp = selected; tmp; tmp = tmp->next) {
if (tmp->next != NULL) {
- /* FIXME: There must be a nicer way to do this. This is just arse */
- if (strstr ((const gchar *) separator, (const gchar *) "\\n") != NULL)
- g_printerr ("%s\n", (gchar *) tmp->data);
- else if (strstr ((const gchar *) separator, (const gchar *) "\\t") != NULL)
- g_printerr ("%s\t", (gchar *) tmp->data);
- else
g_printerr ("%s%s", (gchar *) tmp->data, separator);
}
else