aboutsummaryrefslogtreecommitdiff
path: root/include/ChatWindow.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-01-12 20:39:23 +0100
committerdec05eba <dec05eba@protonmail.com>2019-01-12 20:39:26 +0100
commitdaa59b89b1f05cf3a2abdee9ef5ac8bffe805b13 (patch)
tree4b027770beec143d9e514819b6ca30d4a9695eab /include/ChatWindow.hpp
parentfe4199dace73ee38262528f7ae88cbfba99120dd (diff)
Fix multithreading crashes
Diffstat (limited to 'include/ChatWindow.hpp')
-rw-r--r--include/ChatWindow.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ChatWindow.hpp b/include/ChatWindow.hpp
index 764ca32..1ca473b 100644
--- a/include/ChatWindow.hpp
+++ b/include/ChatWindow.hpp
@@ -65,6 +65,8 @@ namespace dchat
{
Gtk::Grid *leftPanelUsersLayout;
Gtk::Grid *messageAreaLayout;
+ uint numMessages;
+ uint numUsers;
Gtk::RadioButton *button;
};
@@ -76,4 +78,4 @@ namespace dchat
bool chatInputShowPlaceholder;
bool chatInputChangeByPlaceholder;
};
-} \ No newline at end of file
+}