From 560d7a6c07b9cefe9f4c0e955e86207d1b79d6e1 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Wed, 17 Jan 2018 21:41:08 +0900 Subject: gtk: added border width --- gtk/configdialog.c | 1 + gtk/toneview.c | 1 + 2 files changed, 2 insertions(+) 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); -- cgit v1.2.3