diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-17 21:41:08 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-17 21:41:08 +0900 |
commit | 560d7a6c07b9cefe9f4c0e955e86207d1b79d6e1 (patch) | |
tree | 9be3ac8afd758d8e403cf898dedfbd76a67c1bb2 | |
parent | 1d2a45e348857f65cc7590b2e7f1b39c30216f92 (diff) |
gtk: added border width
-rw-r--r-- | gtk/configdialog.c | 1 | ||||
-rw-r--r-- | gtk/toneview.c | 1 |
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); |