[ghex/gtk4-port: 75/91] Cleanup before merging staging




commit 9423384eef8ab98d5acde968efcd1fc5b4fb12a3
Author: Logan Rathbone <poprocks gmail com>
Date:   Fri Feb 5 19:24:30 2021 -0500

    Cleanup before merging staging

 src/ghex-application-window.c | 5 +++--
 src/paste-special.c           | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/ghex-application-window.c b/src/ghex-application-window.c
index 2e08e42a..7491be86 100644
--- a/src/ghex-application-window.c
+++ b/src/ghex-application-window.c
@@ -23,8 +23,9 @@
 */
 
 #include "ghex-application-window.h"
-// FIXME - not sure I want this to be a dep. Needs to be in the .C file
-// due to both headers requiring each other
+
+/* These aren't co-dependencies per se, but they call functions from each
+ * other, so keep this header here in the source file to avoid issues. */
 #include "paste-special.h"
 
 /* DEFINES */
diff --git a/src/paste-special.c b/src/paste-special.c
index b2cbeac0..48da4b69 100644
--- a/src/paste-special.c
+++ b/src/paste-special.c
@@ -303,9 +303,9 @@ delimited_hex_copy (void)
 
        hex_str = hex_paste_data_to_delimited_hex ();
 
-       // FIXME - Maybe this should be set up as a union? Not sure what would
-       // best satisfy the principle of least astonishment (POLA).
-       
+       /* FIXME - Maybe this should be set up as a union? Not sure what would
+        * best satisfy the principle of least astonishment (POLA).
+        */
        if (hex_str)
                gdk_clipboard_set_text (clipboard, hex_str);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]