[gitg] Do not disable image diff tools
- From: Alberto Fanjul <albfan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Do not disable image diff tools
- Date: Sat, 16 Jul 2022 08:45:37 +0000 (UTC)
commit da0e21aa13a43ab7ab1fcef26f3d8fab9a196727
Author: Sonny Piers <sonny fastmail net>
Date: Sun Apr 24 17:03:15 2022 +0200
Do not disable image diff tools
https://gitlab.gnome.org/GNOME/gitg/-/issues/372
libgitg/gitg-diff-view-file-renderer-image.vala | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/libgitg/gitg-diff-view-file-renderer-image.vala b/libgitg/gitg-diff-view-file-renderer-image.vala
index 01cf9d53..e6b31d8c 100644
--- a/libgitg/gitg-diff-view-file-renderer-image.vala
+++ b/libgitg/gitg-diff-view-file-renderer-image.vala
@@ -61,9 +61,7 @@ class Gitg.DiffViewFileRendererImage : Gtk.Grid, DiffViewFileRenderer
d_diff_image_overlay.cache = d_cache;
d_diff_image_difference.cache = d_cache;
- if (d_cache.old_pixbuf == null || d_cache.new_pixbuf == null ||
- d_cache.old_pixbuf.get_width() != d_cache.new_pixbuf.get_width() ||
- d_cache.old_pixbuf.get_height() != d_cache.new_pixbuf.get_height())
+ if (d_cache.old_pixbuf == null || d_cache.new_pixbuf == null)
{
d_stack_switcher.sensitive = false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]