From: Daniel Carl <danielcarl@gmx.de>
Date: Sun, 30 Jun 2013 17:35:24 +0000 (+0200)
Subject: Removed gtk_entry_set_inner_border for gtk3 build (#38).
X-Git-Url: https://git.owens.tech/assets/112-editable-focus.html/assets/112-editable-focus.html/git?a=commitdiff_plain;h=0f5963e3d89594f0b6b7b5b3fa807348fad69d39;p=vimb.git

Removed gtk_entry_set_inner_border for gtk3 build (#38).
---

diff --git a/src/main.c b/src/main.c
index 5bd4804..3efc6a2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -664,7 +664,9 @@ static void init_core(void)
 
     /* Prepare the inputbox */
     gui->inputbox = gtk_entry_new();
+#ifndef HAS_GTK3
     gtk_entry_set_inner_border(GTK_ENTRY(gui->inputbox), NULL);
+#endif
     g_object_set(gtk_widget_get_settings(gui->inputbox), "gtk-entry-select-on-focus", false, NULL);
 
 #ifdef HAS_GTK3