[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] xwidget_mvp 9b80758 4/4: print.c for xwidget updated to ne
From: |
Joakim Verona |
Subject: |
[Emacs-diffs] xwidget_mvp 9b80758 4/4: print.c for xwidget updated to new format |
Date: |
Tue, 28 Apr 2015 16:41:14 +0000 |
branch: xwidget_mvp
commit 9b80758ec91cb8c96f8dc2b1ec160c5c29b295b6
Author: Joakim Verona <address@hidden>
Commit: Joakim Verona <address@hidden>
print.c for xwidget updated to new format
---
src/print.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/print.c b/src/print.c
index d826fb7..8b31f2c 100644
--- a/src/print.c
+++ b/src/print.c
@@ -1715,16 +1715,15 @@ print_object (Lisp_Object obj, Lisp_Object
printcharfun, bool escapeflag)
print_c_string (XSUBR (obj)->symbol_name, printcharfun);
printchar ('>', printcharfun);
}
-#ifdef HAVE_XWIDGETS_DISABLED_ATM
- //there was a segfault here after recent upstream changes
+#ifdef HAVE_XWIDGETS
else if (XWIDGETP (obj))
{
- strout ("#<xwidget ", -1, -1, printcharfun);
+ print_c_string ("#<xwidget ", printcharfun);
printchar ('>', printcharfun);
}
else if (XWIDGET_VIEW_P (obj))
{
- strout ("#<xwidget-view ", -1, -1, printcharfun);
+ print_c_string ("#<xwidget ", printcharfun);
printchar ('>', printcharfun);
}
#endif