void gtk_dir_selection_hide_fileop_buttons (GtkDirSelection *filesel);
gchar** gtk_dir_selection_get_selections (GtkDirSelection *filesel);
-gchar * gtk_dir_selection_get_dir (GtkDirSelection *filesel);
+const gchar * gtk_dir_selection_get_dir (GtkDirSelection *filesel);
void gtk_dir_selection_set_select_multiple (GtkDirSelection *filesel,
gboolean select_multiple);
gboolean gtk_dir_selection_get_select_multiple (GtkDirSelection *filesel);
LttTrace *trace;
LttvTrace * trace_v;
LttvTraceset * traceset;
- char * dir;
+ const char * dir;
gint id;
MainWindow * mw_data = get_window_data_struct(widget);
GtkDirSelection * file_selector = (GtkDirSelection *)gtk_dir_selection_new("Select a trace");
if (index != -1)
{
- gchar * err, str[256];
+ const gchar * err;
+ gchar str[256];
err = gtk_label_get_text (GTK_LABEL (fs->selection_text));
err += 11; //pass over "Selection: "
sprintf(str,"%s\0",err);
return g_strerror (err);
}
-gchar * gtk_dir_selection_get_dir (GtkDirSelection *filesel)
+const gchar * gtk_dir_selection_get_dir (GtkDirSelection *filesel)
{
return gtk_entry_get_text (GTK_ENTRY (filesel->selection_entry));
}