summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-08 18:58:47 (GMT)
committerfluxgen <fluxgen>2002-04-08 18:58:47 (GMT)
commitd496d26c1a577e86b5267257ea49f04cf74da4fd (patch)
tree22cded2150a3d8bdbed0c4e104df74d925765b68 /src
parent1ab9ee4954637dfd5313c2b00e2be6606148d889 (diff)
downloadfluxbox_lack-d496d26c1a577e86b5267257ea49f04cf74da4fd.zip
fluxbox_lack-d496d26c1a577e86b5267257ea49f04cf74da4fd.tar.bz2
int to unsigned int
Diffstat (limited to 'src')
-rw-r--r--src/Slit.cc4
-rw-r--r--src/Slit.hh2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 388e4c2..f0a37c7 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -19,6 +19,8 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Slit.cc,v 1.11 2002/04/08 18:58:27 fluxgen Exp $
23
22//use GNU extensions 24//use GNU extensions
23#ifndef _GNU_SOURCE 25#ifndef _GNU_SOURCE
24#define _GNU_SOURCE 26#define _GNU_SOURCE
@@ -899,7 +901,7 @@ Slitmenu::Headmenu::Headmenu(Slitmenu *sm)
899 update(); 901 update();
900} 902}
901 903
902void Slitmenu::Headmenu::itemSelected(int button, int index) { 904void Slitmenu::Headmenu::itemSelected(int button, unsigned int index) {
903 if (button == 1) { 905 if (button == 1) {
904 BasemenuItem *item = find(index); 906 BasemenuItem *item = find(index);
905 if (! item) 907 if (! item)
diff --git a/src/Slit.hh b/src/Slit.hh
index f4065be..356873c 100644
--- a/src/Slit.hh
+++ b/src/Slit.hh
@@ -80,7 +80,7 @@ private:
80 Slitmenu *slitmenu; 80 Slitmenu *slitmenu;
81 81
82 protected: 82 protected:
83 virtual void itemSelected(int, int); 83 virtual void itemSelected(int button, unsigned int index);
84 84
85 }; 85 };
86#endif // XINERAMA 86#endif // XINERAMA