[gimp] app: connect the blob editor's and the ink option's properties explicitly



commit c3ff71df8bd4fc260b06f9a89a106947736b2844
Author: Michael Natterer <mitch gimp org>
Date:   Tue Feb 15 18:48:38 2011 +0100

    app: connect the blob editor's and the ink option's properties explicitly
    
    instead of using gimp_config_connect(model,view,NULL) because that
    also connected the model's name to the view's *widget* name, which is
    a really bad idea.

 app/tools/gimpinkoptions-gui.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpinkoptions-gui.c b/app/tools/gimpinkoptions-gui.c
index 071888a..dbcfc1f 100644
--- a/app/tools/gimpinkoptions-gui.c
+++ b/app/tools/gimpinkoptions-gui.c
@@ -138,7 +138,9 @@ gimp_ink_options_gui (GimpToolOptions *tool_options)
   gtk_container_add (GTK_CONTAINER (frame), editor);
   gtk_widget_show (editor);
 
-  gimp_config_connect (config, G_OBJECT (editor), NULL);
+  gimp_config_connect (config, G_OBJECT (editor), "blob-type");
+  gimp_config_connect (config, G_OBJECT (editor), "blob-aspect");
+  gimp_config_connect (config, G_OBJECT (editor), "blob-angle");
 
   return vbox;
 }



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