[ghex] lib: rename static function (no substantive changes)



commit 3689707a5db463bdac1967562c59e4106a4ccd5e
Author: Logan Rathbone <poprocks gmail com>
Date:   Mon Jan 3 16:16:21 2022 -0500

    lib: rename static function (no substantive changes)

 src/gtkhex.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gtkhex.c b/src/gtkhex.c
index 54fbe44..48a0e39 100644
--- a/src/gtkhex.c
+++ b/src/gtkhex.c
@@ -1149,7 +1149,7 @@ render_offsets (HexWidget *self,
 #undef MIN_CPL
 
 static void
-allocate_buffer (HexWidget *self)
+allocate_display_buffer (HexWidget *self)
 {
        GtkWidget *widget = GTK_WIDGET (self);
        int hex_cpl = get_hex_cpl (self);
@@ -1177,7 +1177,7 @@ hex_draw (GtkDrawingArea *drawing_area,
         * required values:
         */
        recalc_displays (self);
-       allocate_buffer (self);
+       allocate_display_buffer (self);
 
        /* Finally, we can do what we wanted to do to begin with: draw our hex
         * lines!
@@ -1196,7 +1196,7 @@ ascii_draw (GtkDrawingArea *drawing_area,
        g_return_if_fail(HEX_IS_WIDGET(self));
 
        recalc_displays (self);
-       allocate_buffer (self);
+       allocate_display_buffer (self);
        render_lines (self, cr, 0, self->vis_lines, VIEW_ASCII);
 }
 


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