title: GdkPixbuf Collection
body: <p>I need to create GdkPixBuf collection. I try to save pixbufs in GList -  mw->disp_list:</p>
  
  <pre><code>GtkTreeIter iter;
  int i = 0;
  
  for (i; i &lt; g_list_length(list) - 1; ++i)
  {                       
    char* file = image_list_get_current_file_path( list );
  
    mw-&gt;p1 = gdk_pixbuf_new_from_file(file,NULL);
    mw-&gt;p1 = scale_pix(mw-&gt;p1,128);
  
    mw-&gt;disp_list = g_list_append (mw-&gt;disp_list, mw-&gt;p1);
  
    if (!mw-&gt;img_list-&gt;current-&gt;next )
        image_list_get_first(mw-&gt;img_list);
    else
        image_list_get_next(mw-&gt;img_list);
  }
  </code></pre>
  
  <p>Where p1 - it's GtkPixBuf*.</p>
  
  <p>But when i try to use  mw->disp_list in another function i see that it is NULL. What's wrong?</p>
  
  <p>Thank you.</p>