scim_immodule: remove unused code
authorjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 14:52:22 +0000 (14:52 +0000)
committerjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 14:52:22 +0000 (14:52 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@68966 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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)
      {