[ghex: 2/3] Remove DISPLAY_BORDER from src/gtkhex.c.



commit 42b636f6330708ba819dbb1be6a0d69d6e1ecc5d
Author: Ryan Koesters <rmkoesters gmail com>
Date:   Mon Nov 5 13:48:52 2018 -0600

    Remove DISPLAY_BORDER from src/gtkhex.c.

 src/gtkhex.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/gtkhex.c b/src/gtkhex.c
index 1469423..6d918da 100644
--- a/src/gtkhex.c
+++ b/src/gtkhex.c
@@ -31,8 +31,6 @@
 #include "gtkhex.h"
 #include "gtkhex-private.h"
 
-#define DISPLAY_BORDER 4
-
 #define DEFAULT_CPL 32
 #define DEFAULT_LINES 10
 
@@ -2170,7 +2168,6 @@ static void gtk_hex_init(GtkHex *gh, gpointer klass) {
        
        gtk_widget_set_can_focus(GTK_WIDGET(gh), TRUE);
        gtk_widget_set_events(GTK_WIDGET(gh), GDK_KEY_PRESS_MASK);
-       gtk_container_set_border_width(GTK_CONTAINER(gh), DISPLAY_BORDER);
        
        context = gtk_widget_get_style_context (GTK_WIDGET (gh));
        provider = gtk_css_provider_new ();


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