aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/configdialog.c1
-rw-r--r--gtk/toneview.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gtk/configdialog.c b/gtk/configdialog.c
index 94b5ee5..e33611e 100644
--- a/gtk/configdialog.c
+++ b/gtk/configdialog.c
@@ -72,6 +72,7 @@ void show_configdialog(config_update_func *func, void *ptr) {
g.ptr = ptr;
if (!g.configwin) {
g.configwin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_container_set_border_width(GTK_CONTAINER(g.configwin), 5);
gtk_window_set_title(GTK_WINDOW(g.configwin), "FMPlayer config");
g_signal_connect(g.configwin, "destroy", G_CALLBACK(on_destroy), 0);
GtkWidget *box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5);
diff --git a/gtk/toneview.c b/gtk/toneview.c
index 99117d5..0a48e8c 100644
--- a/gtk/toneview.c
+++ b/gtk/toneview.c
@@ -88,6 +88,7 @@ void show_toneview(void) {
if (!g.tonewin) {
g.format_disp = -1;
g.tonewin = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+ gtk_container_set_border_width(GTK_CONTAINER(g.tonewin), 5);
gtk_window_set_title(GTK_WINDOW(g.tonewin), "FM Tone Viewer");
g_signal_connect(g.tonewin, "destroy", G_CALLBACK(on_destroy), 0);
GtkWidget *box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5);