diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-26 18:42:22 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-26 18:42:22 (EDT) |
commit | 5755453f650c25b0cb37c5b5fd0460d486928e59 (patch) | |
tree | 1310fe029b2396b33ccf9905589c59ccf3236aee | |
parent | ba12edabbd690d249985991a61dec39ce5081eb2 (diff) | |
download | marquee-5755453f650c25b0cb37c5b5fd0460d486928e59.zip marquee-5755453f650c25b0cb37c5b5fd0460d486928e59.tar.gz marquee-5755453f650c25b0cb37c5b5fd0460d486928e59.tar.bz2 |
MqTabBody: Indent macro code in do...while
-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 { \ |