Search
lxdream.org :: lxdream/src/gtkui/gtkui.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtkui.c
changeset 1036:af7b0c5905dd
prev1019:87f191f92f8f
next1040:9e3e41eab2db
author nkeynes
date Wed Jun 24 06:06:40 2009 +0000 (12 years ago)
permissions -rw-r--r--
last change Support shell substitutions in config paths
Keep track of last folder in file dialogs
Fix out-of-dateness in GTK path dialog
file annotate diff log raw
1.1 --- a/src/gtkui/gtkui.c Wed Jun 03 10:29:16 2009 +0000
1.2 +++ b/src/gtkui/gtkui.c Wed Jun 24 06:06:40 2009 +0000
1.3 @@ -544,17 +544,4 @@
1.4 return keyval;
1.5 }
1.6
1.7 -gchar *get_absolute_path( const gchar *in_path )
1.8 -{
1.9 - char tmp[PATH_MAX];
1.10 - if( in_path == NULL ) {
1.11 - return NULL;
1.12 - }
1.13 - if( in_path[0] == '/' || in_path[0] == 0 ) {
1.14 - return g_strdup(in_path);
1.15 - } else {
1.16 - getcwd(tmp, sizeof(tmp));
1.17 - return g_strdup_printf("%s%c%s", tmp, G_DIR_SEPARATOR, in_path);
1.18 - }
1.19 -}
1.20
.