summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/actions.c4
-rw-r--r--src/actions.h2
3 files changed, 11 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 90550ef..e92cc86 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,12 @@
2001-02-10 Ryan Yeske <rcyeske@cut.hotdog.tmp>
+ * ratpoison.h: #include "messages.h"
+
+ * list.h (goto_window_number): moved prototype to actions.h
+
+ * actions.h (goto_window_number): added prototype
+ (goto_window): removed prototype
+
* Makefile.am (ratpoison_SOURCES): added messages.h
* actions.c (prev_window): display correct message when there is
diff --git a/src/actions.c b/src/actions.c
index 3799d6b..4aac6ca 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -302,8 +302,10 @@ show_clock (void *data)
}
void
-goto_window_number (int n)
+goto_window_number (void *data)
{
+ int n = (int)data;
+
rp_window *win;
if ((win = find_window_by_number (n)) == NULL)
diff --git a/src/actions.h b/src/actions.h
index 56e443d..047a6f7 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -22,7 +22,7 @@ void switch_to(void *which);
void bye(void *dummy);
void generate_prefix (void *data);
void abort_keypress (void *data);
-void goto_window (void *data);
+void goto_window_number (void* data);
void spawn(void *data);
void execute_command (void *data);
void kill_window (void *data);