Diff of /trunk/src/osm-gps-map.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 84 by harbaum, Fri Aug 28 07:52:01 2009 UTC revision 85 by harbaum, Fri Aug 28 12:07:16 2009 UTC
# Line 1496  on_window_key_press(GtkWidget *widget, Line 1496  on_window_key_press(GtkWidget *widget,
1496    gboolean handled = FALSE;    gboolean handled = FALSE;
1497    int step = GTK_WIDGET(widget)->allocation.width/OSM_GPS_MAP_SCROLL_STEP;    int step = GTK_WIDGET(widget)->allocation.width/OSM_GPS_MAP_SCROLL_STEP;
1498    
1499    printf("key event with keyval %x\n", event->keyval);    //  printf("key event with keyval %x\n", event->keyval);
1500    
1501    // the map handles some keys on its own ...    // the map handles some keys on its own ...
1502    switch(event->keyval) {    switch(event->keyval) {
# Line 1564  on_window_key_press(GtkWidget *widget, Line 1564  on_window_key_press(GtkWidget *widget,
1564  #endif  #endif
1565    
1566    default:    default:
1567        printf("unhandled key event with keyval %x\n", event->keyval);        //      printf("unhandled key event with keyval %x\n", event->keyval);
1568        break;        break;
1569    }    }
1570    

Legend:
Removed from v.84  
changed lines
  Added in v.85