diff options
Diffstat (limited to 'media-gfx/gpicview/files')
-rw-r--r-- | media-gfx/gpicview/files/gpicview-fix-animated-gifs.patch | 13 | ||||
-rw-r--r-- | media-gfx/gpicview/files/gpicview-main_win_open-dummy-return.patch | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/media-gfx/gpicview/files/gpicview-fix-animated-gifs.patch b/media-gfx/gpicview/files/gpicview-fix-animated-gifs.patch new file mode 100644 index 000000000000..88867fbe31ad --- /dev/null +++ b/media-gfx/gpicview/files/gpicview-fix-animated-gifs.patch @@ -0,0 +1,13 @@ +diff --git a/src/image-view.c b/src/image-view.c +index b367f2a..1368620 100644 +--- a/src/image-view.c ++++ b/src/image-view.c +@@ -343,7 +343,7 @@ void image_view_clear( ImageView* iv ) + + void image_view_set_pixbuf( ImageView* iv, GdkPixbuf* pixbuf ) + { +- if( pixbuf != iv->pix ) ++ + { + image_view_clear( iv ); + if( G_LIKELY(pixbuf) ) diff --git a/media-gfx/gpicview/files/gpicview-main_win_open-dummy-return.patch b/media-gfx/gpicview/files/gpicview-main_win_open-dummy-return.patch new file mode 100644 index 000000000000..0f4e3bde251c --- /dev/null +++ b/media-gfx/gpicview/files/gpicview-main_win_open-dummy-return.patch @@ -0,0 +1,13 @@ +diff --git a/src/main-win.c b/src/main-win.c +index 32f6433..bf5feba 100644 +--- a/src/main-win.c ++++ b/src/main-win.c +@@ -378,7 +378,7 @@ gboolean main_win_open( MainWin* mw, const char* file_path, ZoomMode zoom ) + image_list_sort_by_name( mw->img_list, GTK_SORT_DESCENDING ); + if (image_list_get_first(mw->img_list)) + main_win_open(mw, image_list_get_current_file_path(mw->img_list), zoom); +- return; ++ return 1; + } + + |