scim_immodule: remove unused code
authorJihoon Kim <imfine98@gmail.com>
Wed, 7 Mar 2012 14:52:22 +0000 (14:52 +0000)
committerJihoon Kim <imfine98@gmail.com>
Wed, 7 Mar 2012 14:52:22 +0000 (14:52 +0000)
SVN revision: 68966

legacy/ecore/src/modules/immodules/scim/scim_imcontext.cpp

index 05012f8..eb9b5c9 100644 (file)
@@ -547,13 +547,6 @@ isf_imf_context_new(void)
    SCIM_DEBUG_FRONTEND(1) << __FUNCTION__ << "...\n";
    char *env;
 
-   Ecore_X_Display  *display = ecore_x_display_get();
-   if (!display)
-     {
-        std::cerr << "ecore_x_display_get() failed !!!";
-        return NULL;
-     }
-
    EcoreIMFContextISF *context_scim = new EcoreIMFContextISF;
    if (context_scim == NULL)
      {