IdleRegister
cleanups
This commit is contained in:
@@ -54,7 +54,13 @@ public:
|
||||
void destroy();
|
||||
|
||||
private:
|
||||
std::map<void*, guint> ids;
|
||||
struct DataWrapper {
|
||||
IdleRegister* const self;
|
||||
GSourceFunc function;
|
||||
gpointer data;
|
||||
};
|
||||
|
||||
std::map<const DataWrapper*, guint> ids;
|
||||
MyMutex mutex;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user