pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gpicview Always return a value from a non-voi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8fe1f5cb3f43
branches:  trunk
changeset: 641771:8fe1f5cb3f43
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Nov 17 19:03:10 2014 +0000

description:
Always return a value from a non-void function.

diffstat:

 graphics/gpicview/distinfo                     |   3 ++-
 graphics/gpicview/patches/patch-src_main-win.c |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 68c37d5b7cf9 -r 8fe1f5cb3f43 graphics/gpicview/distinfo
--- a/graphics/gpicview/distinfo        Mon Nov 17 19:02:30 2014 +0000
+++ b/graphics/gpicview/distinfo        Mon Nov 17 19:03:10 2014 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2014/11/12 18:11:57 snj Exp $
+$NetBSD: distinfo,v 1.3 2014/11/17 19:03:10 joerg Exp $
 
 SHA1 (gpicview-0.2.4.tar.gz) = 423143c850390db9784ad9812b9f929c18dd51ea
 RMD160 (gpicview-0.2.4.tar.gz) = 36f7debf3b01d534dd6d16e1ad6f6c04b80ceda8
 Size (gpicview-0.2.4.tar.gz) = 488510 bytes
+SHA1 (patch-src_main-win.c) = 2971f6a6db8ffdd5bd205f414c545814628e0360
diff -r 68c37d5b7cf9 -r 8fe1f5cb3f43 graphics/gpicview/patches/patch-src_main-win.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gpicview/patches/patch-src_main-win.c    Mon Nov 17 19:03:10 2014 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_main-win.c,v 1.1 2014/11/17 19:03:10 joerg Exp $
+
+--- src/main-win.c.orig        2014-11-16 15:22:49.000000000 +0000
++++ src/main-win.c
+@@ -378,7 +378,7 @@ gboolean main_win_open( MainWin* mw, con
+         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 FALSE;
+     }
+ 
+ 



Home | Main Index | Thread Index | Old Index