summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/web-view-schemes/view-source.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c
index 90b0b85..4ff2b92 100644
--- a/src/web-view-schemes/view-source.c
+++ b/src/web-view-schemes/view-source.c
@@ -104,22 +104,8 @@ display_uri(MqWebView G_GNUC_UNUSED *web_view, MqWebViewScheme *scheme,
#define WKCMA(ACTION) \
WEBKIT_CONTEXT_MENU_ACTION_##ACTION
-#define ITEM_DECLS \
- GtkAction *action; \
- WebKitContextMenuItem *menu_item;
#define ITEM_DECLS_NO_CUSTOM \
WebKitContextMenuItem *menu_item;
-#define NEW_CUSTOM_ITEM(NAME, LABEL) \
- G_STMT_START { \
- /* Don't blame me; blame WebKitGTK+ for using GtkAction. */ \
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS \
- action = gtk_action_new(#NAME, (LABEL), NULL, NULL); \
- G_GNUC_END_IGNORE_DEPRECATIONS \
- g_signal_connect(action, "activate", \
- G_CALLBACK(menu_##NAME##_activate_cb), web_view); \
- menu_item = webkit_context_menu_item_new(action); \
- webkit_context_menu_append(context_menu, menu_item); \
- } G_STMT_END
#define NEW_STOCK_ITEM(STOCK) \
G_STMT_START { \
menu_item = webkit_context_menu_item_new_from_stock_action( \