]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/gtkdlg.c
Better not forget to make sure GTK1 doesn't break.
[PuTTY.git] / unix / gtkdlg.c
index 1c31ed34dd9b8256a2f82867b4ef63c2cea3bbd4..966164ac025e4ecf3a04bcc44802b5c907e70cfb 100644 (file)
@@ -2,15 +2,6 @@
  * gtkdlg.c - GTK implementation of the PuTTY configuration box.
  */
 
-/*
- * TODO when porting to GTK 2.0:
- * 
- *  - GtkList is deprecated and we should switch to GtkTreeView instead
- *    (done for GtkTree).
- *  - GtkLabel has a built-in mnemonic scheme, so we should at
- *    least consider switching to that from the current adhockery.
- */
-
 #include <assert.h>
 #include <stdarg.h>
 #include <ctype.h>
@@ -2363,9 +2354,6 @@ int do_config_box(const char *title, Config *cfg, int midsession,
                                   -1);
                treeiterlevels[j] = treeiter;
 
-               treeindices[j]++;
-               treeindices[j+1] = -1;
-
                if (j > 0) {
                    GtkTreePath *path;