summaryrefslogtreecommitdiffstats
path: root/src/flood-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flood-context.cpp')
-rw-r--r--src/flood-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index 21778eda9..7c7309ec9 100644
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
@@ -853,9 +853,9 @@ static void sp_flood_finish(SPFloodContext *rc)
}
}
-void flood_channels_changed(GtkComboBox *cbox, GtkWidget *tbl)
+void flood_channels_set_channels( gint channels )
{
- prefs_set_int_attribute("tools.paintbucket", "channels", (gint)gtk_combo_box_get_active(cbox));
+ prefs_set_int_attribute("tools.paintbucket", "channels", channels);
}
/*