projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a problem in single-thread mode where the canvas isn't always updated.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
cellrenderer_value.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp
b/synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp
index
45490c1
..
459a595
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/cellrenderer_value.cpp
@@
-65,11
+65,6
@@
using namespace studio;
#define DIGITS 15
#define DIGITS 15
-#define use_colorspace_gamma() App::use_colorspace_gamma
-#define colorspace_gamma() (2.2f)
-#define gamma_in(x) pow((float)x,1.0f/colorspace_gamma())
-#define gamma_out(x) pow((float)x,colorspace_gamma())
-
/* === G L O B A L S ======================================================= */
class studio::ValueBase_Entry : public Gtk::EventBox, public Gtk::CellEditable
/* === G L O B A L S ======================================================= */
class studio::ValueBase_Entry : public Gtk::EventBox, public Gtk::CellEditable
@@
-154,7
+149,7
@@
public:
if(parent)parent->grab_focus();
Gtk::CellEditable::on_remove_widget();
}
if(parent)parent->grab_focus();
Gtk::CellEditable::on_remove_widget();
}
- void start_editing_vfunc(GdkEvent *
event
)
+ void start_editing_vfunc(GdkEvent *
/*event*/
)
{
valuewidget->signal_activate().connect(sigc::mem_fun(*this, &studio::ValueBase_Entry::editing_done));
show();
{
valuewidget->signal_activate().connect(sigc::mem_fun(*this, &studio::ValueBase_Entry::editing_done));
show();