blob: 05b42cafe353132ea603b1d2f05383ea494e5376 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-library_forms_mforms.cpp,v 1.1 2012/12/25 21:12:31 joerg Exp $
--- library/forms/mforms.cpp.orig 2012-12-25 15:55:34.000000000 +0000
+++ library/forms/mforms.cpp
@@ -23,6 +23,8 @@
#include "mforms/mforms.h"
#include "mforms/simpleform.h"
+extern GThread *_mforms_main_thread;
+
using namespace mforms;
// The first time this method is called must be from the main thread, during
@@ -33,7 +35,6 @@ ControlFactory *ControlFactory::get_inst
if (!instance)
{
// Do some one time initializations.
- extern GThread *_mforms_main_thread;
_mforms_main_thread= g_thread_self();
instance= new ControlFactory();
|