Skip to content
Permalink
Browse files
2010-07-20 Rafael Antognolli <antognolli@profusion.mobi>
        Reviewed by Kent Tamura.

        [EFL] Use log functions instead of fprintf
        https://bugs.webkit.org/show_bug.cgi?id=42576

        Use LOG and LOG_ERROR instead of fprintf.

        No new tests, no new functionality.

        * platform/efl/WidgetEfl.cpp:
        (WebCore::Widget::applyFallbackCursor):

Canonical link: https://commits.webkit.org/54641@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
webkit-commit-queue committed Jul 21, 2010
1 parent b7ce074 commit aa4ce658e3c6368dcd4c7d060774f01ac3c71d95
Showing with 18 additions and 5 deletions.
  1. +14 −0 WebCore/ChangeLog
  2. +4 −5 WebCore/platform/efl/WidgetEfl.cpp
@@ -1,3 +1,17 @@
2010-07-20 Rafael Antognolli <antognolli@profusion.mobi>

Reviewed by Kent Tamura.

[EFL] Use log functions instead of fprintf
https://bugs.webkit.org/show_bug.cgi?id=42576

Use LOG and LOG_ERROR instead of fprintf.

No new tests, no new functionality.

* platform/efl/WidgetEfl.cpp:
(WebCore::Widget::applyFallbackCursor):

2010-07-20 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.
@@ -211,8 +211,8 @@ void Widget::applyFallbackCursor()
int shape = cursorStringMap.cursor(m_data->m_cursorGroup.utf8().data());

if (shape < ECORE_X_CURSOR_X || shape > ECORE_X_CURSOR_XTERM) {
fprintf(stderr, "ERROR: cannot map an equivalent X cursor for"
" cursor group %s", m_data->m_cursorGroup.utf8().data());
LOG_ERROR("cannot map an equivalent X cursor for"
" c ursor group %s", m_data->m_cursorGroup.utf8().data());
shape = ECORE_X_CURSOR_LEFT_PTR;
}

@@ -221,10 +221,9 @@ void Widget::applyFallbackCursor()
ecore_x_window_cursor_set(win, cur);
return;
}
#else
fprintf(stderr, "ERROR: Ooops, no fallback to set cursor %s!\n",
m_data->m_cursorGroup.utf8().data());
#endif
LOG("Ooops, no fallback to set cursor %s!\n",
m_data->m_cursorGroup.utf8().data());
}

void Widget::applyCursor()

0 comments on commit aa4ce65

Please sign in to comment.