title: use g_thread_new with a struct
body: <p>I want to start a struct method in an own thread:</p>
  
  <pre><code>g_thread_new( "NewThread", mymethod , NULL)
  </code></pre>
  
  <p>The problem is, the program only compiles if I set the method to "static":</p>
  
  <pre><code>static gpointer mymethod(gpointer nrp) { puts(this-&gt;mystring) ; ... }
  </code></pre>
  
  <p>But if I set the method to "static" I cannot access the struct instance variables like this->mystring. </p>
  
  <p>Is there a way to use g_thread_new with class methods AND access instance variables?</p>