Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 gamine (1.1-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Port to gstreamer 1.0 (Closes: #785832)
Author: Moritz Muehlenhoff <jmm@debian.org>
Bug-Debian: https://bugs.debian.org/785832

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- gamine-1.1.orig/gamine.c
+++ gamine-1.1/gamine.c
@@ -237,7 +237,6 @@ draw_star (GtkWidget    *widget,
 static void
 save_picture(gamine_t *cb)
 {
-    stat st;
     gchar *dirname;
     gchar *filename;
     char buf[20];
@@ -248,10 +247,6 @@ save_picture(gamine_t *cb)
 
     dirname = g_build_filename(g_get_home_dir(), "gamine", NULL);
     //if dirname not exists
-    if(stat(dirname,&st) != 0)
-        if (mkdir(dirname, 0750) < 0)
-            printf(gettext("*** error: failed to create directory %s***\n"),
-                    dirname);
     sprintf(buf,"%d-%d-%d_%d-%d-%d.png",1900 + t->tm_year,
             t->tm_mon,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec);
     filename = g_build_filename(dirname, buf, NULL);
