cgit: Added cgit 0.7.3-c502865 - A CGI for git written in C
[opensde-package-nopast.git] / x11 / pekwm / gcc41.patch
blob29461deec00ba724f5f61623adba59405bc4b7db
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../pekwm/gcc41.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- SDE-COPYRIGHT-NOTE-END ---
17 diff -Nur pekwm-0.1.3-orig/src/FrameWidget.hh pekwm-0.1.3/src/FrameWidget.hh
18 --- pekwm-0.1.3-orig/src/FrameWidget.hh 2003-06-05 19:12:14.000000000 +0000
19 +++ pekwm-0.1.3/src/FrameWidget.hh 2006-04-03 12:10:11.537071250 +0000
20 @@ -78,49 +78,49 @@
22 // border inlines
23 inline unsigned int
24 - FrameWidget::borderTop(void) const {
25 + borderTop(void) const {
26 return (_border ? (_focused
27 ? _theme->getWinFocusedBorder()[BORDER_TOP]->getHeight()
28 : _theme->getWinUnfocusedBorder()[BORDER_TOP]->getHeight()) : 0);
30 inline unsigned int
31 - FrameWidget::borderTopLeft(void) const {
32 + borderTopLeft(void) const {
33 return (_border ? (_focused
34 ? _theme->getWinFocusedBorder()[BORDER_TOP_LEFT]->getWidth()
35 : _theme->getWinUnfocusedBorder()[BORDER_TOP_LEFT]->getWidth()) : 0);
37 inline unsigned int
38 - FrameWidget::borderTopRight(void) const {
39 + borderTopRight(void) const {
40 return (_border ? (_focused
41 ? _theme->getWinFocusedBorder()[BORDER_TOP_RIGHT]->getWidth()
42 : _theme->getWinUnfocusedBorder()[BORDER_TOP_RIGHT]->getWidth()) : 0);
44 inline unsigned int
45 - FrameWidget::borderBottom(void) const {
46 + borderBottom(void) const {
47 return (_border ? (_focused
48 ? _theme->getWinFocusedBorder()[BORDER_BOTTOM]->getHeight()
49 : _theme->getWinUnfocusedBorder()[BORDER_BOTTOM]->getHeight()) : 0);
51 inline unsigned int
52 - FrameWidget::borderBottomLeft(void) const {
53 + borderBottomLeft(void) const {
54 return (_border ? (_focused
55 ? _theme->getWinFocusedBorder()[BORDER_BOTTOM_LEFT]->getWidth()
56 : _theme->getWinUnfocusedBorder()[BORDER_BOTTOM_LEFT]->getWidth()) : 0);
58 inline unsigned int
59 - FrameWidget::borderBottomRight(void) const {
60 + borderBottomRight(void) const {
61 return (_border ? (_focused
62 ? _theme->getWinFocusedBorder()[BORDER_BOTTOM_RIGHT]->getWidth()
63 : _theme->getWinUnfocusedBorder()[BORDER_BOTTOM_RIGHT]->getWidth()) : 0);
65 inline unsigned int
66 - FrameWidget::borderLeft(void) const {
67 + borderLeft(void) const {
68 return (_border ? (_focused
69 ? _theme->getWinFocusedBorder()[BORDER_LEFT]->getWidth()
70 : _theme->getWinUnfocusedBorder()[BORDER_LEFT]->getWidth()) : 0);
72 inline unsigned int
73 - FrameWidget::borderRight(void) const {
74 + borderRight(void) const {
75 return (_border ? (_focused
76 ? _theme->getWinFocusedBorder()[BORDER_RIGHT]->getWidth()
77 : _theme->getWinUnfocusedBorder()[BORDER_RIGHT]->getWidth()) : 0);