Code

Follow-up fix of member/parameter name collision.
authorJon A. Cruz <jon@joncruz.org>
Mon, 8 Mar 2010 05:43:54 +0000 (21:43 -0800)
committerJon A. Cruz <jon@joncruz.org>
Mon, 8 Mar 2010 05:43:54 +0000 (21:43 -0800)
src/widgets/gradient-selector.cpp

index 1a98c68dc4055405f7cbfe05eb208e688ad719bb..ada9b2f097a335d3a24f96e7e42cabac54236fc0 100644 (file)
@@ -222,7 +222,7 @@ void SPGradientSelector::setSpread(SPGradientSpread spread)
 {
     gradientSpread = spread;
 
-    gtk_option_menu_set_history(GTK_OPTION_MENU(spread), gradientSpread);
+    gtk_option_menu_set_history(GTK_OPTION_MENU(this->spread), gradientSpread);
 }
 
 SPGradientUnits SPGradientSelector::getUnits()