Fix mistake
[apps/agl-service-windowmanager-2017.git] / src / wm_client.hpp
index 0d6faeb..259d504 100644 (file)
@@ -53,7 +53,7 @@ class WMClient
     bool removeSurfaceIfExist(unsigned surface);
     bool removeRole(const std::string& role);
 
-#ifndef GTEST_ENABLED
+#if GTEST_ENABLED
     bool subscribe(afb_req req, const std::string &event_name);
     void emitError(WM_CLIENT_ERROR_EVENT ev);
 #endif