title: converting an array of characters to a const gchar*
body: <p>I've got an array of characters which contains a string:</p>
  
  <pre><code>char buf[MAXBUFLEN];
  buf[0] = 'f';
  buf[1] = 'o';
  buf[2] = 'o';
  buf[3] = '\0';
  </code></pre>
  
  <p>I'm looking to pass this string as an argument to the <code>gtk_text_buffer_insert</code> function in order to insert it into a <code>GtkTextBuffer</code>. What I can't figure out is how to convert it to a <code>const gchar *</code>, which is what <code>gtk_text_buffer_insert</code> expects as its third argument.</p>
  
  <p>Can anybody help me out?</p>