diff options
author | portix <portix@gmx.net> | 2012-02-26 22:55:56 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2012-02-26 22:55:56 +0100 |
commit | 7c587718a9beff619a0ad1ce195822508d03847d (patch) | |
tree | c290bfe4cc0ef7bc6d37e4a59e11f723790ebce2 /src/dwb.h | |
parent | 71de37876787915aebb87310faa771bcc2fd6d2f (diff) | |
download | dwb-7c587718a9beff619a0ad1ce195822508d03847d.zip |
Inject hover-element only if necessary
Diffstat (limited to 'src/dwb.h')
-rw-r--r-- | src/dwb.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -101,9 +101,11 @@ #define FOCUSED_FRAME() (webkit_web_view_get_focused_frame(CURRENT_WEBVIEW())) #define VIEW_FROM_ARG(X) (X && X->p ? ((GSList*)X->p)->data : dwb.state.fview->data) #define WEBVIEW_FROM_ARG(arg) (WEBKIT_WEB_VIEW(((View*)(arg && arg->p ? ((GSList*)arg->p)->data : dwb.state.fview->data))->web)) -#define CLEAR_COMMAND_TEXT() dwb_set_status_bar_text(dwb.gui.lstatus, NULL, NULL, NULL, false) +#define CLEAR_COMMAND_TEXT() dwb_set_status_bar_text(dwb.gui.lstatus, NULL, NULL, NULL, false) #define BOOLEAN(X) (!(!(X))) +#define DOM_NODE_REMOVE_FROM_PARENT(node, error) (webkit_dom_node_remove_child(webkit_dom_node_get_parent_node(WEBKIT_DOM_NODE(node)), WEBKIT_DOM_NODE(node), error)) + #define CURRENT_URL() webkit_web_view_get_uri(CURRENT_WEBVIEW()) #define FOO puts("bar") |