summaryrefslogtreecommitdiffstats
path: root/src/flood-context.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2007-04-12 08:30:45 +0000
committerjoncruz <joncruz@users.sourceforge.net>2007-04-12 08:30:45 +0000
commit611a2ee269bf05831405e359ae2212440d264d5b (patch)
treeffa92e75cccc267df21a0d552290669429321d13 /src/flood-context.cpp
parentuse touchpath selection when rubberbanding with Alt; do move-selected with Al... (diff)
downloadinkscape-611a2ee269bf05831405e359ae2212440d264d5b.tar.gz
inkscape-611a2ee269bf05831405e359ae2212440d264d5b.zip
Switched paint bucket toolbar to stock GTK+ toobar, including minor MVC cleanup on flood-context
More work for bug #1469554 (bzr r2866)
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);
}
/*