Hello on my call back i am trying to open up a terminal and calling a script with a variable. I can't get it to comple. I get error "/home/myusername/myproject/src/main.c:58:80: error: conflicting types for ‘filename’" - Both are gchars. it might be in the gchar *setup line. It sounds like to me it's not combining the gchars. The script works if i manually enter it into gnome-terminal. Any Help?
I am using GTK3, Ubuntu 12.04
void btn_choose_iso_file_set_cb (GtkWidget *btn_choose_iso, gpointer data)
gchar *filename = gtk_file_chooser_get_filename (GTK_WIDGET(btn_choose_iso));
gchar *setup = "gnome-terminal -e /home/myusername/myproject/scripts/setupfs %s", filename;