Browse Source

telephony: make string array const to avoid C warning

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
585ef84379
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/telephony.vala

+ 1
- 1
src/telephony.vala View File

@ -57,7 +57,7 @@ class TelephonyHandler : Object, PacketHandlerInterface {
GLib.message("call from %s, status %s", number, ev);
// handle only missed call and ringing events
string[] accepted_events = {"ringing", "missedCall"};
const string[] accepted_events = {"ringing", "missedCall"};
if (ev in accepted_events) {
string summary = "Other event";


Loading…
Cancel
Save