[Goodies-commits] r5104 - in xfce4-screenshooter-plugin/trunk: . src

Jerome Guelfucci jeromeg at xfce.org
Wed Jul 16 10:04:39 CEST 2008


Author: jeromeg
Date: 2008-07-16 08:04:39 +0000 (Wed, 16 Jul 2008)
New Revision: 5104

Modified:
   xfce4-screenshooter-plugin/trunk/ChangeLog
   xfce4-screenshooter-plugin/trunk/src/main.c
Log:
Really fix the relative path issue

Modified: xfce4-screenshooter-plugin/trunk/ChangeLog
===================================================================
--- xfce4-screenshooter-plugin/trunk/ChangeLog	2008-07-16 07:17:23 UTC (rev 5103)
+++ xfce4-screenshooter-plugin/trunk/ChangeLog	2008-07-16 08:04:39 UTC (rev 5104)
@@ -1,5 +1,9 @@
 2008-07-16 jeromeg
 
+  * src/main.c: g_build_filename should be NULL terminated ! Fixes the warning.
+
+2008-07-16 jeromeg
+
   * src/main.c: partially fix -s switch when using relative path. An obscure
     warning "Error stating file..." is still shown but it should work fine.
 

Modified: xfce4-screenshooter-plugin/trunk/src/main.c
===================================================================
--- xfce4-screenshooter-plugin/trunk/src/main.c	2008-07-16 07:17:23 UTC (rev 5103)
+++ xfce4-screenshooter-plugin/trunk/src/main.c	2008-07-16 08:04:39 UTC (rev 5104)
@@ -132,7 +132,7 @@
     }
     else
     {
-      screenshot_dir = g_build_filename(g_get_current_dir(), screenshot_dir);
+      screenshot_dir = g_build_filename(g_get_current_dir(), screenshot_dir, NULL);
       sd->screenshot_dir = screenshot_dir;
     }
   }




More information about the Goodies-commits mailing list