[gimp] app: set the grid canvas item invisible by default



commit a9217d4233e10c0734a296d08e495503e3cff22f
Author: Michael Natterer <mitch gimp org>
Date:   Sat Nov 13 22:58:10 2010 +0100

    app: set the grid canvas item invisible by default

 app/display/gimpdisplayshell-items.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-items.c b/app/display/gimpdisplayshell-items.c
index 500b806..c0338f9 100644
--- a/app/display/gimpdisplayshell-items.c
+++ b/app/display/gimpdisplayshell-items.c
@@ -60,6 +60,7 @@ gimp_display_shell_items_init (GimpDisplayShell *shell)
   g_object_unref (shell->vectors);
 
   shell->grid = gimp_canvas_grid_new (shell, NULL);
+  gimp_canvas_item_set_visible (shell->grid, FALSE);
   g_object_set (shell->grid, "grid-style", TRUE, NULL);
   gimp_display_shell_add_item (shell, shell->grid);
   g_object_unref (shell->grid);



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