Revision: 1763
          http://gtkpod.svn.sourceforge.net/gtkpod/?rev=1763&view=rev
Author:   teuf
Date:     2007-11-08 00:52:39 -0800 (Thu, 08 Nov 2007)

Log Message:
-----------
* tools/hal-callout.c: (mount_ipod): use g_get_tmp_dir instead of
hardcoding /tmp

Modified Paths:
--------------
    libgpod/trunk/ChangeLog
    libgpod/trunk/tools/hal-callout.c

Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog     2007-11-07 15:24:26 UTC (rev 1762)
+++ libgpod/trunk/ChangeLog     2007-11-08 08:52:39 UTC (rev 1763)
@@ -1,3 +1,8 @@
+2007-11-08  Christophe Fergeau  <[EMAIL PROTECTED]>
+
+       * tools/hal-callout.c: (mount_ipod): use g_get_tmp_dir instead of
+       hardcoding /tmp
+
 2007-11-07  Jorg Schuler <jcsjcs at users.sourceforge.net>
 
        * tools/hal-callout.c (mount_ipod): fix bug that prevented

Modified: libgpod/trunk/tools/hal-callout.c
===================================================================
--- libgpod/trunk/tools/hal-callout.c   2007-11-07 15:24:26 UTC (rev 1762)
+++ libgpod/trunk/tools/hal-callout.c   2007-11-08 08:52:39 UTC (rev 1763)
@@ -49,8 +49,7 @@
         if (fstype == NULL) {
                 return NULL;
         }
-        filename = g_build_filename (G_DIR_SEPARATOR_S, "tmp", "ipodXXXXXX",
-                                     NULL);
+        filename = g_build_filename (g_get_tmp_dir (), "ipodXXXXXX", NULL);
         if (filename == NULL) {
                 return NULL;
         }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to