title: GTK C - Passing multiple variables using g_signal_connect
body: <p>So, I'm trying to achieve the following: </p>
  
  <p>The user is choosing file, and path to that file is saved in variable filename. After choosing file user is selecting by checkbox which chmod want to set. </p>
  
  <p>I have something like this:</p>
  
  <pre><code>g_signal_connect (ux, "toggled",G_CALLBACK(user_read_only), (gpointer *)ux);
  </code></pre>
  
  <p>and function user_read_only:</p>
  
  <pre><code>void user_read_only(GtkWidget *widget, gpointer *data)
  {
     if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(data))){
         int stat;
         stat = chmod(filename, S_IRUSR);
         printf("Added Read attribute to user in file: %s\n", filename);
     } else {
        printf("No Read attribute to user in file: %s\n", filename);
     }
  }
  </code></pre>
  
  <p>My question is: How I can pass filename to my callback function? When i try:</p>
  
  <pre><code>g_signal_connect (ux, "toggled",G_CALLBACK(user_read_only), (gpointer *)ux,filename);
  </code></pre>
  
  <p>I got error that I can pass only 1 variable.</p>