diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-body.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tab-body.c b/src/tab-body.c index 07dfcab..574d4c4 100644 --- a/src/tab-body.c +++ b/src/tab-body.c @@ -81,15 +81,15 @@ menu_open_image_win_activate_cb(GtkAction __attribute__((unused)) *action, WebKitContextMenuItem *menu_item; #define NEW_CUSTOM_ITEM(NAME, LABEL) \ do { \ - /* Don't blame me; blame WebKitGTK+ for using GtkAction. */ \ - _Pragma("GCC diagnostic push") \ - _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") \ - action = gtk_action_new(#NAME, (LABEL), NULL, NULL); \ - _Pragma("GCC diagnostic pop") \ - g_signal_connect(action, "activate", \ - G_CALLBACK(menu_##NAME##_activate_cb), body); \ - menu_item = webkit_context_menu_item_new(action); \ - webkit_context_menu_append(context_menu, menu_item); \ + /* Don't blame me; blame WebKitGTK+ for using GtkAction. */ \ + _Pragma("GCC diagnostic push") \ + _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")\ + action = gtk_action_new(#NAME, (LABEL), NULL, NULL); \ + _Pragma("GCC diagnostic pop") \ + g_signal_connect(action, "activate", \ + G_CALLBACK(menu_##NAME##_activate_cb), body); \ + menu_item = webkit_context_menu_item_new(action); \ + webkit_context_menu_append(context_menu, menu_item); \ } while (0) #define NEW_STOCK_ITEM(STOCK) \ do { \ |