[gimp/soc-2013-combined-selection-tool] app:Solved warning; unintiated toggle



commit 9edbb1e17422cd08f907ed7e268b56ee43be6195
Author: Ajay Ramanathan <ajay 010293 gmail com>
Date:   Tue Jun 25 13:35:01 2013 +0530

    app:Solved warning; unintiated toggle

 app/tools/gimpregionselectoptions.c |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/app/tools/gimpregionselectoptions.c b/app/tools/gimpregionselectoptions.c
index 7c1087e..6fd121c 100644
--- a/app/tools/gimpregionselectoptions.c
+++ b/app/tools/gimpregionselectoptions.c
@@ -37,8 +37,6 @@
 #include "gimpregionselecttool.h"
 #include "gimpselectbycolortool.h"
 
-
-
 #include "gimp-intl.h"
 
 
@@ -245,6 +243,7 @@ gimp_region_select_options_gui (GimpToolOptions *tool_options)
   GtkWidget *button;
   GtkWidget *scale;
   GtkWidget *combo;
+ 
   GType             tool_type;
 
   tool_type = tool_options->tool_info->tool_type;
@@ -271,8 +270,6 @@ gimp_region_select_options_gui (GimpToolOptions *tool_options)
   if (g_type_is_a (tool_type, GIMP_TYPE_SELECT_BY_COLOR_TOOL))
    { 
       GtkWidget *frame;
-      GtkWidget *scale;
-      GtkWidget *toggle;
       
       /*  the continuous toggle  */
       button = gimp_prop_check_button_new (config, "continuous",
@@ -290,12 +287,7 @@ gimp_region_select_options_gui (GimpToolOptions *tool_options)
                                              _("Multiple Color"),
                                              scale, NULL);
       gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
-      gtk_widget_show (frame);
-
-
-      g_object_bind_property (config, "multiple-color",
-                              toggle, "sensitive",
-                              G_BINDING_SYNC_CREATE);
+      gtk_widget_show (frame);;
 
     } 
 


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