title: Initialize a struct with a const char * names[] inside
body: <p>I saw a lot of questions about this, but I am making a question because, this is far from what I seen in other questions...I think the sctruct is well initialized...well at least teorically...</p>
  
  <p>GdkColor is a struct in GTK with 4 int numbers inside so { 0, 65535, 0, 0} to initialize it...</p>
  
  <p>I am using gcc compiler.</p>
  
  <p>So I have this struct:</p>
  
  <pre><code>#include &lt;gtk/gtk.h&gt;
  
  typedef struct components{
      GtkWidget *window;
          GtkWidget *table;
              GtkWidget *table_box;
                  GtkWidget *describe;
                      GdkColor color;
                      const gchar *gcolor;
                  GtkWidget *combo_bboard;
                  GtkWidget *combo_bmcu;
                  GtkWidget *go;
                 GtkWidget *plugin_notebook;
                  const gchar *notebook_name_pages[5];
                      gint num_pages;
                      GtkWidget *name_page;
                      GtkWidget *frame;
                      GtkWidget *content;
                          GtkWidget *checkbutton;
  }plugin_items;
  
  /* plugin_items items; */
  plugin_items items = { NULL, NULL, NULL, NULL, { 0, 65535, 0, 0 }, 
                 {"red"}, NULL, NULL, NULL, NULL, { "Features", "Diagram", 
                 "Peripherals", "Registers", "ASM Instructions" }, 0, NULL, 
                 NULL, NULL, NULL };
  
     /* THIS Is THE 32 LINE that gcc complains about */
     items.num_pages = (gint)( (sizeof( items.notebook_name_pages)/sizeof( void *));
  </code></pre>
  
  <p>when I compile I got a weird error :</p>
  
  <pre><code>gcc -c  environment.c -fPIC `pkg-config --cflags gtk+-2.0` 
  environment.c:32:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token
  make: *** [environment.o] Error 1
  </code></pre>
  
  <p>I am tired, but I think all is ok...</p>
  
  <p>why? HELP ME GOD....</p>
  
  <p>Does any body knows how to solve this?
  I don't know what is the error...I am using GTK.
  I can't solve this, I don't  understand the error :S, and I can't find it...
  I stay in a DEAD END for about two days...</p>
  
  <p>I appreciate your help please guys.
  Maybe I am doing something that is completely stupid...but I don't  know where :S</p>
  
  <p>thanks in advance
  jonh</p>