projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mark the step entry dialog as a dialog even though it is an ArdourWindow, to help...
[ardour.git]
/
gtk2_ardour
/
utils.cc
diff --git
a/gtk2_ardour/utils.cc
b/gtk2_ardour/utils.cc
index 952a393f279a5b866aa70a1ab7c462c72fd0dca2..19f93ad2e82b8005a08790ed341827c0e97ce945 100644
(file)
--- a/
gtk2_ardour/utils.cc
+++ b/
gtk2_ardour/utils.cc
@@
-610,6
+610,10
@@
key_is_legal_for_numeric_entry (guint keyval)
}
switch (keyval) {
}
switch (keyval) {
+ case GDK_decimalpoint:
+ case GDK_KP_Separator:
+ return true;
+
case GDK_period:
if (comma_decimal) {
return false;
case GDK_period:
if (comma_decimal) {
return false;
@@
-672,7
+676,7
@@
set_pango_fontsize ()
/* FT2 rendering - used by GnomeCanvas, sigh */
/* FT2 rendering - used by GnomeCanvas, sigh */
- pango_ft2_font_map_set_resolution ((PangoFT2FontMap*) pango_ft2_font_map_
for_display
(), val/1024, val/1024);
+ pango_ft2_font_map_set_resolution ((PangoFT2FontMap*) pango_ft2_font_map_
new
(), val/1024, val/1024);
/* Cairo rendering, in case there is any */
/* Cairo rendering, in case there is any */