]> git.pld-linux.org Git - packages/feh.git/blobdiff - feh-git_ed5f55e967152ff6c730.patch
- rel.4: git_fixes added in place of git_ed5f55e967152ff6c730. Additionally
[packages/feh.git] / feh-git_ed5f55e967152ff6c730.patch
diff --git a/feh-git_ed5f55e967152ff6c730.patch b/feh-git_ed5f55e967152ff6c730.patch
deleted file mode 100644 (file)
index 7a9e1fc..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
---- ./src/slideshow.c.1        2011-09-01 12:18:59.303918828 +0200
-+++ ./src/slideshow.c  2011-08-16 22:53:06.000000000 +0200
-@@ -149,7 +149,6 @@ void feh_reload_image(winwidget w, int r
-       if (!w->file) {
-               im_weprintf(w, "couldn't reload, this image has no file associated with it.");
--              winwidget_render_image(w, 0, 0);
-               return;
-       }
-@@ -167,17 +166,20 @@ void feh_reload_image(winwidget w, int r
-       old_w = gib_imlib_image_get_width(w->im);
-       old_h = gib_imlib_image_get_height(w->im);
-+      /* force imlib2 not to cache */
-+      winwidget_free_image(w);
-+
-       /* if the image has changed in dimensions - we gotta resize */
-       if ((feh_load_image(&tmp, FEH_FILE(w->file->data))) == 0) {
-               if (force_new) {
-                       eprintf("failed to reload image\n");
-               } else {
-                       im_weprintf(w, "Couldn't reload image. Is it still there?");
--                      winwidget_render_image(w, 0, 0);
-               }
-               winwidget_rename(w, title);
-               free(title);
-               free(new_title);
-+              filelist = feh_file_remove_from_list(filelist, w->file);
-               return;
-       }
-@@ -185,9 +187,6 @@ void feh_reload_image(winwidget w, int r
-                       (old_h != gib_imlib_image_get_height(tmp))))
-               resize = 1;
--      /* force imlib2 not to cache */
--      winwidget_free_image(w);
--
-       w->im = tmp;
-       winwidget_reset_image(w);
This page took 0.024773 seconds and 4 git commands to generate.