trivial fixes for clang
This commit is contained in:
parent
9783b65405
commit
fb0ade23ca
14
graphics/gpicview/patches/patch-src_main-win_c
Normal file
14
graphics/gpicview/patches/patch-src_main-win_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_main-win_c,v 1.3 2017/05/02 15:18:31 espie Exp $
|
||||
|
||||
Index: src/main-win.c
|
||||
--- src/main-win.c.orig
|
||||
+++ src/main-win.c
|
||||
@@ -378,7 +378,7 @@ gboolean main_win_open( MainWin* mw, const char* file_
|
||||
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;
|
||||
}
|
||||
|
||||
|
14
graphics/gpicview/patches/patch-src_ptk-menu_h
Normal file
14
graphics/gpicview/patches/patch-src_ptk-menu_h
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_ptk-menu_h,v 1.1 2017/05/02 15:18:31 espie Exp $
|
||||
|
||||
Index: src/ptk-menu.h
|
||||
--- src/ptk-menu.h.orig
|
||||
+++ src/ptk-menu.h
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
|
||||
#ifndef _PTK_MENU_H_
|
||||
-#define _PTK_UTILS_H_
|
||||
+#define _PTK_MENU_H_
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdk.h>
|
Loading…
x
Reference in New Issue
Block a user