diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-05-31 10:27:17 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-05-31 10:27:17 +0000 |
| commit | 6995fc908a06d4a1ad5a2bd6ab33dbdfbf1f573a (patch) | |
| tree | 576b9e2f1ed50a33ef50cb17e7f6ef811862ff0b /src | |
| parent | Fix remaining gtkmm 3 menu issues (diff) | |
| download | inkscape-6995fc908a06d4a1ad5a2bd6ab33dbdfbf1f573a.tar.gz inkscape-6995fc908a06d4a1ad5a2bd6ab33dbdfbf1f573a.zip | |
Replace deprecated GDK key symbols in mesh-context
(bzr r11443)
Diffstat (limited to 'src')
| -rw-r--r-- | src/mesh-context.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mesh-context.cpp b/src/mesh-context.cpp index 3a7b12969..f5ffebe7b 100644 --- a/src/mesh-context.cpp +++ b/src/mesh-context.cpp @@ -881,40 +881,40 @@ sp_mesh_context_root_handler(SPEventContext *event_context, GdkEvent *event) // Mesh Operations -------------------------------------------- - case GDK_b: // Toggle mesh side between lineto and curveto. - case GDK_B: + case GDK_KEY_b: // Toggle mesh side between lineto and curveto. + case GDK_KEY_B: if (MOD__ALT && drag->isNonEmpty() && drag->hasSelection()) { sp_mesh_context_corner_operation ( rc, MG_CORNER_SIDE_TOGGLE ); ret = TRUE; } break; - case GDK_c: // Convert mesh side from generic Bezier to Bezier approximating arc, - case GDK_C: // preserving handle direction. + case GDK_KEY_c: // Convert mesh side from generic Bezier to Bezier approximating arc, + case GDK_KEY_C: // preserving handle direction. if (MOD__ALT && drag->isNonEmpty() && drag->hasSelection()) { sp_mesh_context_corner_operation ( rc, MG_CORNER_SIDE_ARC ); ret = TRUE; } break; - case GDK_g: // Toggle mesh tensor points on/off - case GDK_G: + case GDK_KEY_g: // Toggle mesh tensor points on/off + case GDK_KEY_G: if (MOD__ALT && drag->isNonEmpty() && drag->hasSelection()) { sp_mesh_context_corner_operation ( rc, MG_CORNER_TENSOR_TOGGLE ); ret = TRUE; } break; - case GDK_j: // Smooth corner color - case GDK_J: + case GDK_KEY_j: // Smooth corner color + case GDK_KEY_J: if (MOD__ALT && drag->isNonEmpty() && drag->hasSelection()) { sp_mesh_context_corner_operation ( rc, MG_CORNER_COLOR_SMOOTH ); ret = TRUE; } break; - case GDK_k: // Pick corner color - case GDK_K: + case GDK_KEY_k: // Pick corner color + case GDK_KEY_K: if (MOD__ALT && drag->isNonEmpty() && drag->hasSelection()) { sp_mesh_context_corner_operation ( rc, MG_CORNER_COLOR_PICK ); ret = TRUE; |
