Changeset 573:92ca20268c5f in qutecom-2.2 for libs/imwrapper/src/purple/PurpleIMFactory.cpp
- Timestamp:
- Mar 10, 2010 11:32:19 AM (3 years ago)
- Branch:
- default
- Children:
- 574:6e81709820b4, 575:fea51d7f2b20
- File:
-
- 1 edited
-
libs/imwrapper/src/purple/PurpleIMFactory.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libs/imwrapper/src/purple/PurpleIMFactory.cpp
r571 r573 267 267 ContactListMngr = PurpleContactListMngr::getInstance(); 268 268 //we are using the Qt glib eventloop on linux if Qt is configued with glib option 269 #if !defined(QT_WITH_GLIB) &&defined(OS_LINUX)269 #if !defined(QT_WITH_GLIB) || !defined(OS_LINUX) 270 270 if (!g_thread_supported()) { 271 271 g_thread_init(NULL); 272 272 } 273 273 g_thread_create(PurpleMainEventLoop, NULL, FALSE, NULL); 274 #endif /* !defined(QT_WITH_GLIB) &&defined(OS_LINUX) */274 #endif /* !defined(QT_WITH_GLIB) || !defined(OS_LINUX) */ 275 275 } 276 276 277 277 PurpleIMFactory::~PurpleIMFactory() { 278 #if !defined(QT_WITH_GLIB) &&defined(OS_LINUX)278 #if !defined(QT_WITH_GLIB) || !defined(OS_LINUX) 279 279 if (gMainLoop) { 280 280 LOG_DEBUG("Stopping gMainLoop"); … … 283 283 LOG_ERROR("No gMainLoop created"); 284 284 } 285 #endif /* !defined(QT_WITH_GLIB) &&defined(OS_LINUX) */285 #endif /* !defined(QT_WITH_GLIB) || !defined(OS_LINUX) */ 286 286 } 287 287
Note: See TracChangeset
for help on using the changeset viewer.
