diff options
Diffstat (limited to 'src/gui/gtk')
-rw-r--r-- | src/gui/gtk/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/gui/gtk/Makefile.am | 2 | ||||
-rw-r--r-- | src/gui/gtk/gui-gtk-key.c (renamed from src/gui/gtk/gui-gtk-keyboard.c) | 11 | ||||
-rw-r--r-- | src/gui/gtk/gui-gtk.h | 8 |
4 files changed, 12 insertions, 11 deletions
diff --git a/src/gui/gtk/CMakeLists.txt b/src/gui/gtk/CMakeLists.txt index 817c3e715..d40e6b6f6 100644 --- a/src/gui/gtk/CMakeLists.txt +++ b/src/gui/gtk/CMakeLists.txt @@ -23,7 +23,7 @@ gui-gtk.h gui-gtk-bar-window.c gui-gtk-chat.c gui-gtk-color.c -gui-gtk-keyboard.c +gui-gtk-key.c gui-gtk-main.c gui-gtk-term.c gui-gtk-window.c) diff --git a/src/gui/gtk/Makefile.am b/src/gui/gtk/Makefile.am index 4bd2fa16c..6f84e647f 100644 --- a/src/gui/gtk/Makefile.am +++ b/src/gui/gtk/Makefile.am @@ -35,7 +35,7 @@ weechat_gtk_LDADD = ./../../core/lib_weechat_core.a \ weechat_gtk_SOURCES = gui-gtk-bar-window.c \ gui-gtk-chat.c \ gui-gtk-color.c \ - gui-gtk-keyboard.c \ + gui-gtk-key.c \ gui-gtk-main.c \ gui-gtk-term.c \ gui-gtk-window.c \ diff --git a/src/gui/gtk/gui-gtk-keyboard.c b/src/gui/gtk/gui-gtk-key.c index bf3a9db5b..5fc5b5887 100644 --- a/src/gui/gtk/gui-gtk-keyboard.c +++ b/src/gui/gtk/gui-gtk-key.c @@ -31,27 +31,28 @@ #include "../../core/weechat.h" #include "../../core/wee-utf8.h" #include "../../plugins/plugin.h" -#include "../gui-keyboard.h" +#include "../gui-key.h" #include "../gui-buffer.h" #include "gui-gtk.h" /* - * gui_keyboard_default_bindings: create default key bindings + * gui_key_default_bindings: create default key bindings */ void -gui_keyboard_default_bindings () +gui_key_default_bindings (int context) { /* TODO: write this function for Gtk */ + (void) context; } /* - * gui_keyboard_read: read keyboard chars + * gui_key_read: read keyboard chars */ void -gui_keyboard_read () +gui_key_read () { /* TODO: write this function for Gtk */ } diff --git a/src/gui/gtk/gui-gtk.h b/src/gui/gtk/gui-gtk.h index fac1eb00a..69cd4daa3 100644 --- a/src/gui/gtk/gui-gtk.h +++ b/src/gui/gtk/gui-gtk.h @@ -98,10 +98,10 @@ extern void gui_chat_calculate_line_diff (struct t_gui_window *window, struct t_gui_line **line, int *line_pos, int difference); -/* keyboard functions */ -extern void gui_keyboard_default_bindings (); -extern void gui_keyboard_read (); -extern void gui_keyboard_flush (); +/* key functions */ +extern void gui_key_default_bindings (int context); +extern void gui_key_read (); +extern void gui_key_flush (); /* window functions */ extern void gui_window_redraw_buffer (struct t_gui_buffer *buffer); |