Code

Remove commented code
authorcilix42 <cilix42@users.sourceforge.net>
Mon, 18 Aug 2008 00:35:59 +0000 (00:35 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Mon, 18 Aug 2008 00:35:59 +0000 (00:35 +0000)
src/widgets/toolbox.cpp

index 8efea61ee7feb3f6b9c490114e1bf0a864082bee..63561f746f2663ef08d89ae4587b0fdada7f7baa 100644 (file)
@@ -4843,19 +4843,6 @@ sp_lpetool_test_value_changed(GtkAdjustment *adj, GObject *tbl)
         sp_lpe_item_update_patheffect(lpeitem, true, true);
     }
 
-    /**
-    SPDesktop *desktop = (SPDesktop *) g_object_get_data(tbl, "desktop");
-    SPItem *item = sp_desktop_selection(desktop)->singleItem();
-    if (item && SP_IS_LPE_ITEM(item)) {
-        SPLPEItem *lpeitem = SP_LPE_ITEM(item);
-        Effect* lpe = sp_lpe_item_get_current_lpe(lpeitem);
-        if (lpe->effectType() == ANGLE_BISECTOR) {
-            LPEAngleBisector *lpeab = dynamic_cast<LPEAngleBisector*>(lpe);
-            lpeab->length_left.param_set_value(gtk_adjustment_get_value(adj));
-        }
-    }
-    **/
-
     g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
 }