~mdw
/
sgt
/
puzzles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1482ee7
)
Stop the user being able to resize the window.
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 27 Apr 2004 19:01:49 +0000
(19:01 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 27 Apr 2004 19:01:49 +0000
(19:01 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4155
cda61777
-01e9-0310-a592-
d414129be87e
gtk.c
patch
|
blob
|
blame
|
history
diff --git
a/gtk.c
b/gtk.c
index
0d63e58
..
b3b453f
100644
(file)
--- a/
gtk.c
+++ b/
gtk.c
@@
-1,9
+1,5
@@
/*
* gtk.c: GTK front end for my puzzle collection.
- *
- * TODO:
- *
- * - Handle resizing, probably just by forbidding it.
*/
#include <stdio.h>
@@
-254,6
+250,11
@@
static frontend *new_window(void)
midend_new_game(fe->me, NULL);
fe->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
+#if 0
+ gtk_window_set_resizable(GTK_WINDOW(fe->window), FALSE);
+#else
+ gtk_window_set_policy(GTK_WINDOW(fe->window), FALSE, FALSE, TRUE);
+#endif
{
int i, ncolours;