diff options
author | 2013-08-25 13:01:23 +0200 | |
---|---|---|
committer | 2013-08-25 13:01:23 +0200 | |
commit | 16fd0d4caf287406bd22b8c2e084425a7acc3a0a (patch) | |
tree | 1386562aedf77e9c3ad2040f4b0383749e30bf42 /plugins/gtkui/hotkeys.c | |
parent | efba1e21638299d4362ec28ab40865c694b56c98 (diff) |
gtkui: fixed few warnings in hotkeys
Diffstat (limited to 'plugins/gtkui/hotkeys.c')
-rw-r--r-- | plugins/gtkui/hotkeys.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gtkui/hotkeys.c b/plugins/gtkui/hotkeys.c index e2d68ce8..04f6af47 100644 --- a/plugins/gtkui/hotkeys.c +++ b/plugins/gtkui/hotkeys.c @@ -58,6 +58,7 @@ typedef struct #include "../libparser/parser.h" #include "../hotkeys/hotkeys.h" #include <X11/Xlib.h> // only for the KeySym type +#include "hotkeys.h" void on_hotkeys_actions_cursor_changed (GtkTreeView *treeview, @@ -373,7 +374,7 @@ on_hotkeys_actions_clicked (GtkButton *button, init_action_tree (treeview, act, ctx); int response = gtk_dialog_run (GTK_DIALOG (dlg)); if (response == GTK_RESPONSE_OK) { - on_hotkeys_actions_cursor_changed (treeview, NULL); + on_hotkeys_actions_cursor_changed (GTK_TREE_VIEW (treeview), NULL); GtkTreePath *path; gtk_tree_view_get_cursor (GTK_TREE_VIEW (treeview), &path, NULL); |