aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-02-23 10:50:27 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2013-02-23 10:50:27 -0500
commit7176687143c74db67d704ad5936bbd9645b2cea7 (patch)
treed17cd8fadc2d3af7d87b1dc4642d11c354fe3ec9
parent1e0661c37bf40189c91e935811296b9919804075 (diff)
downloadtextadept-7176687143c74db67d704ad5936bbd9645b2cea7.tar.gz
textadept-7176687143c74db67d704ad5936bbd9645b2cea7.zip
Set gtdialog parent window; src/textadept.c
This requires gtdialog hg changeset 49 (75a6c2b9b9b7).
-rw-r--r--src/textadept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 9f2d9b13..b1c02cfc 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -2139,6 +2139,7 @@ static void new_window() {
signal(window, "delete-event", w_exit);
signal(window, "focus-in-event", w_focus);
signal(window, "key-press-event", w_keypress);
+ gtdialog_set_parent(GTK_WINDOW(window));
accel = gtk_accel_group_new();
#if (__APPLE__ && !NCURSES)