aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2006-10-31 08:32:25 +0000
committerYAMAMOTO Mitsuharu2006-10-31 08:32:25 +0000
commit11e0f75563dddb35cf1381a69f46553182a684d8 (patch)
tree03031ee28a136319471075a6f1f838379c7b6700 /src
parent37a39780ffd10f5d7e4429f7837eb780960de6ad (diff)
downloademacs-11e0f75563dddb35cf1381a69f46553182a684d8.tar.gz
emacs-11e0f75563dddb35cf1381a69f46553182a684d8.zip
(init_service_handler): Make variable `specs' static
const.
Diffstat (limited to 'src')
-rw-r--r--src/macselect.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/macselect.c b/src/macselect.c
index fd72bd3cb14..7a952f88367 100644
--- a/src/macselect.c
+++ b/src/macselect.c
@@ -1616,10 +1616,11 @@ remove_drag_handler (window)
1616void 1616void
1617init_service_handler () 1617init_service_handler ()
1618{ 1618{
1619 EventTypeSpec specs[] = {{kEventClassService, kEventServiceGetTypes}, 1619 static const EventTypeSpec specs[] =
1620 {kEventClassService, kEventServiceCopy}, 1620 {{kEventClassService, kEventServiceGetTypes},
1621 {kEventClassService, kEventServicePaste}, 1621 {kEventClassService, kEventServiceCopy},
1622 {kEventClassService, kEventServicePerform}}; 1622 {kEventClassService, kEventServicePaste},
1623 {kEventClassService, kEventServicePerform}};
1623 InstallApplicationEventHandler (NewEventHandlerUPP (mac_handle_service_event), 1624 InstallApplicationEventHandler (NewEventHandlerUPP (mac_handle_service_event),
1624 GetEventTypeCount (specs), specs, NULL, NULL); 1625 GetEventTypeCount (specs), specs, NULL, NULL);
1625} 1626}