[gimp] Remove some dead code and fix some comments



commit 16038023a568136ed8853a2b8855e7d0f1ffbc47
Author: Michael Natterer <mitch gimp org>
Date:   Fri Sep 25 22:54:22 2009 +0200

    Remove some dead code and fix some comments

 app/display/gimpdisplayshell.c |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index 62c4d64..5e1dfcd 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -860,7 +860,7 @@ gimp_display_shell_new (GimpDisplay       *display,
    *
    *  Changed the packing to use hboxes and vboxes which behave nicer:
    *
-   *  disp_vbox
+   *  shell
    *     |
    *     +-- upper_hbox
    *     |      |
@@ -898,15 +898,9 @@ gimp_display_shell_new (GimpDisplay       *display,
         gtk_widget_hide (menubar);
     }
 
-  /*  another vbox for everything except the statusbar  */
+  /*  FIXME this will be the shell  */
   shell->disp_vbox = gtk_vbox_new (FALSE, 1);
 
-#if 0
-  gtk_box_pack_start (GTK_BOX (GIMP_IMAGE_WINDOW (shell)->main_vbox),
-                      disp_vbox, TRUE, TRUE, 0);
-  gtk_widget_show (disp_vbox);
-#endif
-
   /*  a hbox for the inner_table and the vertical scrollbar  */
   upper_hbox = gtk_hbox_new (FALSE, 1);
   gtk_box_pack_start (GTK_BOX (shell->disp_vbox), upper_hbox, TRUE, TRUE, 0);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]