summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 73a34d4)
raw | patch | inline | side by side (parent: 73a34d4)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 7 Feb 2007 22:32:34 +0000 (22:32 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Wed, 7 Feb 2007 22:32:34 +0000 (22:32 +0000) |
src/widgets/toolbox.cpp | patch | blob | history |
index 7f0bf51227fc92e11dc914c3b1724884a1859db6..c2de24d6f42861308801183f663a94b70b56612a 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
gtk_widget_set_sensitive (GTK_WIDGET (set_checkbox), FALSE);
}
}
+ spinbutton_defocus(GTK_OBJECT(tbl));
}
-static void toggle_dropper_set_alpha (GtkWidget *button, gpointer data) {
+static void toggle_dropper_set_alpha (GtkWidget *button, gpointer tbl) {
prefs_set_int_attribute ("tools.dropper", "setalpha",
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)) ? 1 : 0);
+ spinbutton_defocus(GTK_OBJECT(tbl));
}