X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fmain%2Fsrc%2Fgtkdirsel.c;h=480563a770d03efc507cc9d22399b273c55b88b1;hb=da684c0d5eb1c4f4629b8a22560f15356aad80bb;hp=92a8ab9751cd4b18a22e0614ab4e942c3f19dfa2;hpb=a7e6e8284bcc732f7db90354f8e3282b1d8b4629;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/main/src/gtkdirsel.c b/ltt/branches/poly/lttv/modules/gui/main/src/gtkdirsel.c index 92a8ab97..480563a7 100644 --- a/ltt/branches/poly/lttv/modules/gui/main/src/gtkdirsel.c +++ b/ltt/branches/poly/lttv/modules/gui/main/src/gtkdirsel.c @@ -2460,7 +2460,8 @@ gtk_dir_selection_dir_changed (GtkTreeSelection *selection, 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); @@ -4039,7 +4040,7 @@ cmpl_strerror (gint 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)); }